@kody-ade/kody-engine-lite 0.1.88 → 0.1.89

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 +6 -1
  2. package/package.json +1 -1
package/dist/bin/cli.js CHANGED
@@ -495,7 +495,12 @@ function commitAll(message, cwd) {
495
495
  return { success: true, hash, message };
496
496
  }
497
497
  function pushBranch(cwd) {
498
- git(["push", "-u", "origin", "HEAD"], { cwd, timeout: 12e4 });
498
+ try {
499
+ git(["push", "-u", "origin", "HEAD"], { cwd, timeout: 12e4 });
500
+ } catch {
501
+ logger.info(" Push rejected (non-fast-forward), retrying with --force-with-lease");
502
+ git(["push", "--force-with-lease", "-u", "origin", "HEAD"], { cwd, timeout: 12e4 });
503
+ }
499
504
  logger.info(" Pushed to origin");
500
505
  }
501
506
  var BASE_BRANCHES, _hookSafeEnv;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kody-ade/kody-engine-lite",
3
- "version": "0.1.88",
3
+ "version": "0.1.89",
4
4
  "description": "Autonomous SDLC pipeline: Kody orchestration + Claude Code + LiteLLM",
5
5
  "license": "MIT",
6
6
  "type": "module",