@kody-ade/kody-engine 0.4.177 → 0.4.178

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/kody.js +7 -2
  2. package/package.json +1 -1
package/dist/bin/kody.js CHANGED
@@ -1309,7 +1309,7 @@ var init_loadPriorArt = __esm({
1309
1309
  // package.json
1310
1310
  var package_default = {
1311
1311
  name: "@kody-ade/kody-engine",
1312
- version: "0.4.177",
1312
+ version: "0.4.178",
1313
1313
  description: "kody \u2014 autonomous development engine. Single-session Claude Code agent behind a generic executor + declarative executable profiles.",
1314
1314
  license: "MIT",
1315
1315
  type: "module",
@@ -12560,7 +12560,12 @@ var runPreviewBuild = async (ctx, _profile, _args) => {
12560
12560
  repo = required("GITHUB_REPOSITORY");
12561
12561
  ref = required("GITHUB_SHA");
12562
12562
  masterKey = required("KODY_MASTER_KEY");
12563
- ghToken4 = required("GITHUB_TOKEN");
12563
+ ghToken4 = (process.env.KODY_TOKEN ?? process.env.GH_TOKEN ?? process.env.GITHUB_TOKEN ?? process.env.GH_PAT ?? "").trim();
12564
+ if (!ghToken4) {
12565
+ throw new Error(
12566
+ "GitHub auth token missing (KODY_TOKEN / GH_TOKEN / GITHUB_TOKEN / GH_PAT all empty)"
12567
+ );
12568
+ }
12564
12569
  } catch (err) {
12565
12570
  ctx.output.exitCode = 99;
12566
12571
  ctx.output.reason = `runPreviewBuild: ${err instanceof Error ? err.message : String(err)}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kody-ade/kody-engine",
3
- "version": "0.4.177",
3
+ "version": "0.4.178",
4
4
  "description": "kody — autonomous development engine. Single-session Claude Code agent behind a generic executor + declarative executable profiles.",
5
5
  "license": "MIT",
6
6
  "type": "module",