@kody-ade/kody-engine 0.4.180 → 0.4.181

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 +15 -3
  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.180",
1312
+ version: "0.4.181",
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",
@@ -12654,11 +12654,23 @@ var runPreviewBuild = async (ctx, _profile, _args) => {
12654
12654
  "bash",
12655
12655
  [
12656
12656
  "-c",
12657
- "command -v nsc >/dev/null 2>&1 || curl -fsSL https://get.namespace.so/install.sh | sh"
12657
+ `curl -fsSL https://get.namespace.so/install.sh | bash -s -- -y || curl -fsSL https://get.namespace.so/install.sh | bash`
12658
12658
  ],
12659
12659
  { cwd: ctx.cwd }
12660
12660
  );
12661
- await runCmd("nsc", ["docker", "buildx", "setup"], { cwd: ctx.cwd });
12661
+ const nscPath = [
12662
+ `${process.env.HOME ?? ""}/.local/bin`,
12663
+ "/usr/local/bin",
12664
+ process.env.PATH ?? ""
12665
+ ].filter(Boolean).join(":");
12666
+ await runCmd("bash", ["-c", "nsc version"], {
12667
+ cwd: ctx.cwd,
12668
+ env: { PATH: nscPath }
12669
+ });
12670
+ await runCmd("nsc", ["docker", "buildx", "setup"], {
12671
+ cwd: ctx.cwd,
12672
+ env: { PATH: nscPath }
12673
+ });
12662
12674
  await runCmd(
12663
12675
  "docker",
12664
12676
  ["login", "registry.fly.io", "-u", "x", "--password-stdin"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kody-ade/kody-engine",
3
- "version": "0.4.180",
3
+ "version": "0.4.181",
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",