Files
davila7__claude-code-templates/package.json
Dani 1995c0863c fix(blog): correct Function Hooks article against a real 2.1.266 binary
The install section documented `--function-hook` as available, but the flag
was only ever merged to main - it is not in the published 1.29.4 on npm, so
`npx claude-code-templates@latest --function-hook ...` failed with
"unknown option". Bump to 1.29.5 so the flag ships, state the minimum
version in the article, and add the manual plugin layout as a fallback.

Also correct claims that testing on Claude Code 2.1.266 contradicted or
that the binary now answers outright:

- The runtime is compiled in. Document the real $ surface found in the
  binary (fs/http/process/model/store/session/ui/tool/agent/command/prompt),
  the classic.* event namespace and engine.create withholding, replacing
  the "what if the flag does nothing" box.
- Soften the <name>@skills-dir auto-load claim; it is unverified. Recommend
  --plugin-dir, which is the path actually tested.
- Note secret-redactor's two real limits: shape-only matching (PASSWORD=
  hunter2 passes) and a connection-string pattern that stops at the @, so
  host, port and database name survive redaction.
- Note that $.ui.log appears TUI-only and is silent under `claude -p`;
  universal-audit-log is unaffected since it writes via $.fs.append.
- Hang budget: the binary has reentrancy detection and per-plugin model
  budgets, so answer the part that is now known and keep the rest open.

Claude-Session: https://claude.ai/code/session_01KnCWDj7sV9JznrV5UMNy8W
2026-09-08 22:02:43 -04:00

54 lines
1.4 KiB
JSON

{
"name": "claude-code-templates",
"version": "1.29.5",
"description": "Component templates and tracking system for Claude Code",
"main": "cli-tool/src/index.js",
"bin": {
"claude-code-templates": "cli-tool/bin/create-claude-config.js",
"cct": "cli-tool/bin/create-claude-config.js"
},
"scripts": {
"build": "echo 'Build complete'",
"test": "echo 'No tests specified'",
"agent:security-auditor": "security-auditor 'Security audit covering codebase, dependencies, and deployment configuration'",
"deploy": "./scripts/deploy.sh",
"deploy:dashboard": "./scripts/deploy.sh"
},
"dependencies": {
"@clack/prompts": "^1.5.1",
"@supabase/supabase-js": "^2.39.0",
"axios": "^1.6.2",
"boxen": "^5.1.2",
"chalk": "^4.1.2",
"chokidar": "^3.5.3",
"commander": "^11.1.0",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"fs-extra": "^11.1.1",
"gradient-string": "^2.0.2",
"inquirer": "^8.2.6",
"js-yaml": "^4.1.1",
"open": "^8.4.2",
"ora": "^5.4.1",
"qrcode": "^1.5.4",
"uuid": "^11.1.0",
"ws": "^8.18.3"
},
"keywords": [
"claude-code",
"templates",
"components",
"tracking",
"analytics"
],
"author": "Claude Code Templates",
"license": "MIT",
"files": [
"cli-tool/bin/",
"cli-tool/src/",
"cli-tool/components/sandbox/",
"cli-tool/package.json",
"README.md"
]
}