claude-multi 0.5.1 → 0.5.6

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 (37) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/bin/claude-multi.cmd +26 -0
  3. package/bin/claude-multi.js +22 -0
  4. package/dist/cli.js +4744 -2419
  5. package/package.json +23 -20
  6. package/.agents/skills/three/SKILL.md +0 -106
  7. package/.agents/skills/threejs-animation/SKILL.md +0 -552
  8. package/.agents/skills/threejs-fundamentals/SKILL.md +0 -488
  9. package/.agents/skills/threejs-geometry/SKILL.md +0 -548
  10. package/.agents/skills/threejs-interaction/SKILL.md +0 -660
  11. package/.agents/skills/threejs-lighting/SKILL.md +0 -481
  12. package/.agents/skills/threejs-loaders/SKILL.md +0 -623
  13. package/.agents/skills/threejs-materials/SKILL.md +0 -520
  14. package/.agents/skills/threejs-postprocessing/SKILL.md +0 -602
  15. package/.agents/skills/threejs-shaders/SKILL.md +0 -642
  16. package/.agents/skills/threejs-textures/SKILL.md +0 -628
  17. package/.commandcode/taste/taste.md +0 -9
  18. package/astro.config.mjs +0 -69
  19. package/bun.lock +0 -1353
  20. package/public/android-chrome-192x192.png +0 -0
  21. package/public/android-chrome-512x512.png +0 -0
  22. package/public/apple-touch-icon.png +0 -0
  23. package/public/favicon-16x16.png +0 -0
  24. package/public/favicon-32x32.png +0 -0
  25. package/public/favicon-animated.svg +0 -140
  26. package/public/favicon.json +0 -1
  27. package/public/favicon.svg +0 -14
  28. package/public/logo.svg +0 -14
  29. package/public/site.webmanifest +0 -11
  30. package/screenshots-review/01-main-menu.png +0 -0
  31. package/screenshots-review/02-list-instances.png +0 -0
  32. package/screenshots-review/07-mcp-details.png +0 -0
  33. package/screenshots-review/v2-01-main-menu.png +0 -0
  34. package/scripts/capture-screens.tsx +0 -440
  35. package/scripts/gen-lottie.cjs +0 -160
  36. package/scripts/shoot-changelog.mjs +0 -18
  37. package/skills-lock.json +0 -71
package/CHANGELOG.md CHANGED
@@ -5,6 +5,49 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.5.6] - 2026-05-23
9
+
10
+ ### Added
11
+ - **`robots.txt` route** (`src/web/pages/robots.txt.ts`): serves sitemap reference and user-agent directives for the docs site
12
+
13
+ ### Changed
14
+ - **Runtime-agnostic launcher** (`bin/claude-multi.js`): polyglot bin entry is simultaneously valid POSIX sh and ESM JavaScript
15
+ - On Linux/macOS: shell shebang detects bun/node/deno and execs the correct runtime
16
+ - On Windows + bun global install: bun's `.exe` shim reads the `.js` extension and runs directly as ESM — no `/bin/sh` lookup required
17
+ - On Windows + npm install: npm's `.cmd` shim calls `node` on the `.js` file
18
+ - Shebang changed to `#!/usr/bin/env bun` so bun's Windows shim can resolve itself in `PATH`
19
+
20
+ ### CI
21
+ - Add cross-platform install verification workflow covering bun, node, and deno on Linux, Windows, and macOS
22
+ - Separate build into its own job; test jobs download the artifact instead of rebuilding
23
+ - Publish workflow now includes version bump step and enhanced post-publish verification
24
+ - Add `ci:test-install` script to trigger the install-verification workflow from local
25
+
26
+ ## [0.5.5] - 2026-05-22
27
+
28
+ ### Added
29
+ - **Runtime detection** (`src/util/runtime.ts`): `detectPackageManager()` identifies the active package manager (bun / npm / pnpm / deno) at runtime
30
+
31
+ ### Changed
32
+ - **Cross-runtime support**: all package-manager operations (`upgradeClaudeMulti`, `getCurrentVersion`, `updateClaudeCode`) now use the detected package manager instead of hard-coding bun commands
33
+ - `getLatestVersion()` replaced `bun pm npm view` with a direct `fetch()` to the npm registry — works in any runtime
34
+ - `getDefaultBinaryPath()` selects the correct global bin directory for the active package manager on Windows (was always `%LOCALAPPDATA%\bun\bin`)
35
+ - Generated wrapper shebang changed from `#!/usr/bin/env bun` to `#!/usr/bin/env node`
36
+ - Default action (no subcommand) always launches the Ink TUI and awaits `waitUntilExit()` — the `CLAUDE_MULTI_INK=false` prompts fallback is removed
37
+ - Update check is now **opt-in**: set `CLAUDE_MULTI_UPDATE_CHECK=true` to enable; it no longer runs on every invocation
38
+ - Removed `interactive` / `i` command alias (default action covers this)
39
+
40
+ ### Fixed
41
+ - `AddInstance` provider selection: choosing "None" now correctly resets `selectedProvider` to `null` and sets `useProvider` to `false`; choosing a provider correctly sets `useProvider` to `true`
42
+ - `getCurrentVersion()` handles pnpm's array-shaped JSON response
43
+
44
+ ### CI
45
+ - Publish workflow: skip git tag creation when the tag already exists remotely
46
+ - Publish workflow: make git tagging optional via workflow input
47
+ - Switch publish workflow from bun to npm with OIDC trusted publishing (no token)
48
+ - Update Node.js to 24.x in CI and deployment workflows
49
+ - Add `ci:publish` script to trigger versioned publish from local
50
+
8
51
  ## [0.5.1] - 2026-05-22
9
52
 
10
53
  ### Changed
@@ -231,6 +274,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
231
274
  - Support for custom config and binary paths
232
275
  - Command-line interface built with Commander.js
233
276
 
277
+ [0.5.5]: https://github.com/hmziqrs/claude-multi/compare/v0.5.1...v0.5.5
278
+ [0.5.1]: https://github.com/hmziqrs/claude-multi/compare/v0.5.0...v0.5.1
234
279
  [0.5.0]: https://github.com/hmziqrs/claude-multi/compare/v0.4.4...v0.5.0
235
280
  [0.4.4]: https://github.com/hmziqrs/claude-multi/compare/v0.4.3...v0.4.4
236
281
  [0.3.0]: https://github.com/hmziqrs/claude-multi/compare/v0.2.0...v0.3.0
@@ -0,0 +1,26 @@
1
+ @echo off
2
+ setlocal
3
+ :: Resolve package root (bin\ -> ..\)
4
+ set "_cli=%~dp0..\dist\cli.js"
5
+
6
+ where bun >nul 2>&1
7
+ if not errorlevel 1 (
8
+ bun "%_cli%" %*
9
+ exit /b %errorlevel%
10
+ )
11
+
12
+ where node >nul 2>&1
13
+ if not errorlevel 1 (
14
+ node "%_cli%" %*
15
+ exit /b %errorlevel%
16
+ )
17
+
18
+ where deno >nul 2>&1
19
+ if not errorlevel 1 (
20
+ deno run -A "%_cli%" %*
21
+ exit /b %errorlevel%
22
+ )
23
+
24
+ echo claude-multi: no JavaScript runtime found (install bun, node, or deno) 1>&2
25
+ exit /b 1
26
+ endlocal
@@ -0,0 +1,22 @@
1
+ #!/usr/bin/env sh
2
+ SCRIPT="$0"
3
+ while [ -L "$SCRIPT" ]; do
4
+ LINK=$(readlink "$SCRIPT")
5
+ case "$LINK" in
6
+ /*) SCRIPT="$LINK" ;;
7
+ *) SCRIPT="$(dirname "$SCRIPT")/$LINK" ;;
8
+ esac
9
+ done
10
+ DIR=$(cd "$(dirname "$SCRIPT")" && pwd)
11
+ CLI="$DIR/../dist/cli.js"
12
+
13
+ if command -v bun >/dev/null 2>&1; then
14
+ exec bun "$CLI" "$@"
15
+ elif command -v node >/dev/null 2>&1; then
16
+ exec node "$CLI" "$@"
17
+ elif command -v deno >/dev/null 2>&1; then
18
+ exec deno run -A "$CLI" "$@"
19
+ else
20
+ echo "claude-multi: no JavaScript runtime found (install bun, node, or deno)" >&2
21
+ exit 1
22
+ fi