@codewizard-dt/bootstrap 2.11.0 → 2.11.1

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.
@@ -130,9 +130,11 @@ _add_context7() {
130
130
  read -r CONTEXT7_API_KEY || true
131
131
  fi
132
132
  if [ -n "${CONTEXT7_API_KEY:-}" ]; then
133
+ # --header is variadic (<header...>) and swallows following positionals —
134
+ # it must come AFTER the name and URL or `claude mcp add` sees no <name>.
133
135
  mcp_add_scoped "$1" --transport http \
134
- --header "CONTEXT7_API_KEY: ${CONTEXT7_API_KEY}" \
135
- context7 https://mcp.context7.com/mcp
136
+ context7 https://mcp.context7.com/mcp \
137
+ --header "CONTEXT7_API_KEY: ${CONTEXT7_API_KEY}"
136
138
  else
137
139
  mcp_add_scoped "$1" --transport http \
138
140
  context7 https://mcp.context7.com/mcp
@@ -65,4 +65,4 @@ echo "Ports: brave-search 8941, playwright 8931 — override via BRAVE_MCP_PORT
65
65
  echo ""
66
66
  echo "To add a Context7 key later:"
67
67
  echo " claude mcp remove context7 -s user"
68
- echo " claude mcp add --scope user --transport http --header \"CONTEXT7_API_KEY: <key>\" context7 https://mcp.context7.com/mcp"
68
+ echo " claude mcp add --scope user --transport http context7 https://mcp.context7.com/mcp --header \"CONTEXT7_API_KEY: <key>\""
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codewizard-dt/bootstrap",
3
- "version": "2.11.0",
3
+ "version": "2.11.1",
4
4
  "description": "Bootstrap Claude Code projects with an LLM Wiki, reusable skills, hooks, and MCP setup",
5
5
  "homepage": "https://github.com/codewizard-dt/bootstrap-wiki#readme",
6
6
  "bugs": {
@@ -14,7 +14,7 @@
14
14
  "author": "",
15
15
  "type": "commonjs",
16
16
  "bin": {
17
- "bootstrap": "./bin/cli.js"
17
+ "bootstrap": "bin/cli.js"
18
18
  },
19
19
  "publishConfig": {
20
20
  "access": "public"