Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions mise.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@
# postgres = "https://github.com/mise-plugins/vfox-postgres.git"

[tools]
jq = "latest"
jq = "1.8.1"
bun = "1.3.13"
"npm:@anthropic-ai/claude-code" = "latest"
node = "24.15.0"
# claude-code's native binary is installed by a node postinstall script:
# `depends = "node"` ensures node installs first, else the binary is missing
# ("claude native binary not installed", which fails `claude plugin validate`).
# Pinned to 2.1.143 — 2.1.146 ships a broken native-binary install regardless.
"npm:@anthropic-ai/claude-code" = { version = "2.1.143", depends = "node" }
"pipx:litellm" = { version = "1.83.14", extras = "proxy" }
tilt = "0.37.3"

Expand Down
11 changes: 11 additions & 0 deletions mise/tasks/validate
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@
#MISE description="Validate plugin structure and marketplace consistency"
set -e

# claude-code's native binary is downloaded by a postinstall script that mise's
# npm backend skips (it installs with --ignore-scripts), so a fresh install
# leaves `claude` non-functional ("claude native binary not installed"). Run
# the postinstall explicitly before validate-plugin invokes `claude`.
cc_dir="$(mise where npm:@anthropic-ai/claude-code 2>/dev/null || true)"
cc_install="${cc_dir}/lib/node_modules/@anthropic-ai/claude-code/install.cjs"
if [ -n "$cc_dir" ] && [ -f "$cc_install" ]; then
echo "Ensuring claude-code native binary is installed..."
node "$cc_install"
fi

mise run validate-marketplace

VALID=true
Expand Down
Loading