kodelyth-ecc 1.5.6 → 1.5.7

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/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  All notable changes to Kodelyth ECC are documented here.
4
4
 
5
+ ## v1.5.7 — Fix zsh inline comment args (May 2026)
6
+
7
+ ### Bug Fix
8
+
9
+ - **zsh inline comment crash** — `npx kodelyth-ecc --target windsurf-home # comment` would fail with `Unknown argument: #` in zsh. Unlike bash, zsh does not strip inline `#` comments before passing args to a process. Fixed at two layers: `bin/kodelyth-ecc.js` now filters out `#` and all following args before passing to the installer, and `install.sh` also handles `#*` args with a graceful `break`. This makes copy-pasting commands from documentation with inline comments safe on all shells.
10
+
11
+ ---
12
+
5
13
  ## v1.5.6 — Accuracy, Ruby/Elixir, /doctor, /update (May 2026)
6
14
 
7
15
  ### Bug Fixes
package/VERSION CHANGED
@@ -1 +1 @@
1
- 1.5.6
1
+ 1.5.7
@@ -20,7 +20,12 @@ const fs = require('fs');
20
20
  const os = require('os');
21
21
 
22
22
  const ROOT = path.join(__dirname, '..');
23
- const args = process.argv.slice(2);
23
+ // zsh (unlike bash) passes inline comments as literal args — strip them
24
+ const args = process.argv.slice(2).filter((a, i, arr) => {
25
+ if (a.startsWith('#')) return false; // drop # and everything after
26
+ const prev = arr.slice(0, i).findIndex(x => x.startsWith('#'));
27
+ return prev === -1;
28
+ });
24
29
  const isWin = os.platform() === 'win32';
25
30
 
26
31
  // ── Help shortcut ─────────────────────────────────────────────────────────────
package/install.sh CHANGED
@@ -154,6 +154,10 @@ while [[ $# -gt 0 ]]; do
154
154
  echo " ./install.sh --target cursor-project typescript"
155
155
  exit 0
156
156
  ;;
157
+ \#*)
158
+ # zsh passes inline comments as literal args; skip them and everything after
159
+ break
160
+ ;;
157
161
  *)
158
162
  echo -e "${RED}Unknown argument: $1${RESET}"
159
163
  exit 1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kodelyth-ecc",
3
- "version": "1.5.6",
3
+ "version": "1.5.7",
4
4
  "description": "Production-grade AI coding toolkit — 62 agents, 188 skills, 90 commands, parallel multi-agent commands, semantic intent routing, self-learning memory. Works with Claude Code, Windsurf, Cursor, Codex, Antigravity, and OpenCode.",
5
5
  "author": "Kodelyth <github.com/sifxprime>",
6
6
  "license": "MIT",