conductor-harness 1.0.7 → 1.0.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "conductor-harness",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "Claude Code harness for Conductor projects — hooks, memory, Linear, and workflow context",
5
5
  "bin": {
6
6
  "conductor-harness": "./bin/conductor-harness.js"
@@ -9,10 +9,11 @@ cwd = event.get("cwd", os.getcwd())
9
9
 
10
10
  # Detect project type and run appropriate type checker
11
11
  errors = []
12
- if os.path.exists(os.path.join(cwd, "tsconfig.json")):
12
+ tsc_bin = os.path.join(cwd, "node_modules", ".bin", "tsc")
13
+ if os.path.exists(os.path.join(cwd, "tsconfig.json")) and os.path.exists(tsc_bin):
13
14
  try:
14
15
  result = subprocess.run(
15
- [os.path.join(cwd, "node_modules", ".bin", "tsc"), "--noEmit"],
16
+ [tsc_bin, "--noEmit"],
16
17
  cwd=cwd, capture_output=True, text=True, timeout=30
17
18
  )
18
19
  if result.returncode != 0: