conductor-harness 1.0.7 → 1.0.9
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
|
@@ -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
|
-
|
|
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
|
-
[
|
|
16
|
+
[tsc_bin, "--noEmit"],
|
|
16
17
|
cwd=cwd, capture_output=True, text=True, timeout=30
|
|
17
18
|
)
|
|
18
19
|
if result.returncode != 0:
|
package/runtime/install.sh
CHANGED
|
@@ -158,10 +158,10 @@ print("✓ settings.local.json created")
|
|
|
158
158
|
PYEOF
|
|
159
159
|
fi
|
|
160
160
|
|
|
161
|
-
# ── 10. CLAUDE.md — always overwrite
|
|
161
|
+
# ── 10. CLAUDE.md — always overwrite, substitute detected pkg manager ─────────
|
|
162
162
|
CLAUDE_MD="$TARGET_DIR/CLAUDE.md"
|
|
163
|
-
|
|
164
|
-
echo "✓ CLAUDE.md written (overwritten)"
|
|
163
|
+
sed "s/\[pkg manager\]/$PKG_MANAGER/g" "$HARNESS_DIR/.claude/CLAUDE.md.template" > "$CLAUDE_MD"
|
|
164
|
+
echo "✓ CLAUDE.md written (overwritten, pkg manager: $PKG_MANAGER)"
|
|
165
165
|
|
|
166
166
|
# ── 11. conductor.json — always overwrite ─────────────────────────────────────
|
|
167
167
|
CONDUCTOR_FILE="$TARGET_DIR/conductor.json"
|