@kody-ade/kody-engine 0.4.180 → 0.4.182

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 +13 -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.182",
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,21 @@ 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
+ `if [ ! -x /usr/local/bin/nsc ]; then
12658
+ ARCH=$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/') &&
12659
+ OS=$(uname -s | tr '[:upper:]' '[:lower:]') &&
12660
+ curl -fsSL "https://get.namespace.so/packages/nsc/latest?arch=$ARCH&os=$OS" -o /tmp/nsc.tar.gz &&
12661
+ tar -xzf /tmp/nsc.tar.gz -C /tmp &&
12662
+ sudo install -m 0755 /tmp/nsc /usr/local/bin/nsc &&
12663
+ rm -f /tmp/nsc /tmp/nsc.tar.gz
12664
+ fi
12665
+ /usr/local/bin/nsc version`
12658
12666
  ],
12659
12667
  { cwd: ctx.cwd }
12660
12668
  );
12661
- await runCmd("nsc", ["docker", "buildx", "setup"], { cwd: ctx.cwd });
12669
+ await runCmd("/usr/local/bin/nsc", ["docker", "buildx", "setup"], {
12670
+ cwd: ctx.cwd
12671
+ });
12662
12672
  await runCmd(
12663
12673
  "docker",
12664
12674
  ["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.182",
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",