@kody-ade/kody-engine-lite 0.1.77 → 0.1.78

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 +11 -3
  2. package/package.json +1 -1
package/dist/bin/cli.js CHANGED
@@ -581,7 +581,9 @@ function createPR(head, base, title, body) {
581
581
  logger.info(` PR created: ${url}`);
582
582
  return { number, url };
583
583
  } catch (err) {
584
- logger.error(` Failed to create PR: ${err}`);
584
+ const stderr = err?.stderr?.toString().trim();
585
+ const reason = stderr || (err instanceof Error ? err.message : String(err));
586
+ logger.error(` Failed to create PR: ${reason}`);
585
587
  return null;
586
588
  }
587
589
  }
@@ -4832,9 +4834,15 @@ REMINDER: Output the full prompt template first (unchanged), then your three app
4832
4834
  Review and merge to activate project-specific pipeline configuration.`, cwd);
4833
4835
  }
4834
4836
  } catch (prErr) {
4835
- console.log(` \u25CB PR creation failed: ${prErr instanceof Error ? prErr.message : prErr}`);
4837
+ const stderr = prErr?.stderr?.toString().trim();
4838
+ const reason = stderr || (prErr instanceof Error ? prErr.message : String(prErr));
4839
+ console.log(` \u25CB PR creation failed: ${reason}`);
4836
4840
  if (issueNumber) {
4837
- ghComment(issueNumber, `\u26A0\uFE0F **Bootstrap complete** \u2014 files generated and pushed to branch \`${branchName}\`, but PR creation failed. Create it manually.`, cwd);
4841
+ ghComment(issueNumber, `\u26A0\uFE0F **Bootstrap complete** \u2014 files generated and pushed to branch \`${branchName}\`, but PR creation failed.
4842
+
4843
+ **Reason:** ${reason}
4844
+
4845
+ Create it manually.`, cwd);
4838
4846
  }
4839
4847
  }
4840
4848
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kody-ade/kody-engine-lite",
3
- "version": "0.1.77",
3
+ "version": "0.1.78",
4
4
  "description": "Autonomous SDLC pipeline: Kody orchestration + Claude Code + LiteLLM",
5
5
  "license": "MIT",
6
6
  "type": "module",