konductor 0.12.2 → 0.12.4

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.
package/README.md CHANGED
@@ -8,12 +8,6 @@ Spec-driven development orchestrator for [Kiro CLI](https://kiro.dev).
8
8
  npm install -g konductor
9
9
  ```
10
10
 
11
- Or run without installing:
12
-
13
- ```bash
14
- npx konductor mcp
15
- ```
16
-
17
11
  The npm package automatically downloads the correct prebuilt binary for your platform (macOS/Linux, x64/arm64).
18
12
 
19
13
  ## Usage
package/bin/konductor CHANGED
@@ -1,18 +1,4 @@
1
- #!/usr/bin/env node
2
- "use strict";
3
-
4
- const path = require("path");
5
- const { spawnSync } = require("child_process");
6
- const fs = require("fs");
7
-
8
- const bin = path.join(__dirname, "konductor-native");
9
-
10
- if (!fs.existsSync(bin)) {
11
- console.error("Error: konductor binary not found.");
12
- console.error("Try reinstalling: npm install -g konductor");
13
- console.error("Or use the shell installer: https://github.com/bnusunny/konductor");
14
- process.exit(1);
15
- }
16
-
17
- const result = spawnSync(bin, process.argv.slice(2), { stdio: "inherit" });
18
- process.exit(result.status ?? 1);
1
+ #!/bin/sh
2
+ echo "Error: konductor binary not installed." >&2
3
+ echo "Try reinstalling: npm install -g konductor" >&2
4
+ exit 1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "konductor",
3
- "version": "0.12.2",
3
+ "version": "0.12.4",
4
4
  "description": "Spec-driven development orchestrator for Kiro CLI — MCP server and hook processor",
5
5
  "bin": {
6
6
  "konductor": "bin/konductor"
@@ -29,6 +29,7 @@ function fetch(url) {
29
29
  const mod = url.startsWith("https") ? https : http;
30
30
  mod.get(url, { headers: { "User-Agent": "konductor-npm" } }, (res) => {
31
31
  if (res.statusCode >= 300 && res.statusCode < 400 && res.headers.location) {
32
+ res.resume();
32
33
  return fetch(res.headers.location).then(resolve, reject);
33
34
  }
34
35
  if (res.statusCode !== 200) {
@@ -48,7 +49,7 @@ async function main() {
48
49
  const asset = getAssetName();
49
50
  const baseUrl = `https://github.com/${REPO}/releases/download/v${version}`;
50
51
  const binDir = path.join(__dirname, "..", "bin");
51
- const dest = path.join(binDir, "konductor-native");
52
+ const dest = path.join(binDir, "konductor");
52
53
 
53
54
  console.log(`Downloading konductor v${version} (${asset})...`);
54
55