@thebushidocollective/han 1.43.0 → 1.44.0
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/dist/lib/build-info.generated.d.ts +1 -1
- package/dist/lib/build-info.generated.js +1 -1
- package/dist/lib/commands/hook/dispatch.d.ts.map +1 -1
- package/dist/lib/commands/hook/dispatch.js +72 -8
- package/dist/lib/commands/hook/dispatch.js.map +1 -1
- package/dist/lib/commands/hook/explain.d.ts.map +1 -1
- package/dist/lib/commands/hook/explain.js +13 -9
- package/dist/lib/commands/hook/explain.js.map +1 -1
- package/package.json +6 -6
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const HAN_VERSION = "1.
|
|
1
|
+
export declare const HAN_VERSION = "1.44.0";
|
|
2
2
|
export declare const DETECT_PLUGINS_PROMPT = "<!--\nThis prompt template is dynamically enhanced in shared.ts with:\n1. GIT REPOSITORY section - Remote URL to determine hosting platform (GitHub, GitLab, etc.)\n2. CURRENTLY INSTALLED PLUGINS section - List of plugins already installed (if any)\n3. CODEBASE STATISTICS section - File extensions and config file names from codebase-analyzer.ts\n4. AVAILABLE PLUGINS IN MARKETPLACE section - Plugin list from marketplace.json\n\nThese sections are appended to this base prompt at runtime.\n-->\n\n# Han Plugin Installer Assistant\n\nYou are a Han plugin installer assistant. Your goal is to analyze the current codebase and recommend appropriate Claude Code plugins from the Han marketplace.\n\nThe available plugins from the marketplace are provided below. ONLY recommend plugins from this list.\n\n## Plugin Categories\n\n- **jutsu-\\*** (\u6B66\u5668 weapons): Skills for specific technologies and frameworks\n- **do-\\*** (\u9053 disciplines): Specialized agents for development practices and workflows\n- **hashi-\\*** (\u5148\u751F teachers): MCP servers for external integrations\n- **bushido**: Core quality principles (ALWAYS recommend this)\n\n## Your Analysis Process\n\n### STEP 1: Analyze currently installed plugins (if provided)\n\n- Check if CURRENTLY INSTALLED PLUGINS section is provided in the prompt\n- If provided, you should:\n - **Understand why each plugin was likely added**: Look at plugin descriptions and infer original use case\n - Example: `jutsu-typescript` suggests TypeScript development\n - Example: `hashi-github` suggests GitHub integration needs\n - Example: `do-frontend-development` suggests frontend focus\n - **Determine if each plugin is still relevant**:\n - Use the codebase statistics and configuration files to verify if the technology/practice is still in use\n - A plugin is still relevant if its associated technology/practice is actively used in the codebase\n - A plugin may be irrelevant if:\n - The technology was removed (e.g., no more .ts files but jutsu-typescript is installed)\n - The project migrated to a different platform (e.g., moved from GitHub to GitLab)\n - The framework changed (e.g., migrated from React to Vue)\n - **Keep relevant plugins in your recommendations**: If a plugin is still relevant, include it in your final list\n - **Exclude irrelevant plugins**: If a plugin is no longer needed, do not include it in your recommendations\n\n### STEP 2: Check git repository hosting platform (if provided)\n\n- Check if GIT REPOSITORY section is provided in the prompt\n- If provided, examine the remote URL to determine the hosting platform:\n - URLs containing `github.com` \u2192 recommend `hashi-github`\n - URLs containing `gitlab.com` or other GitLab instances \u2192 recommend `hashi-gitlab`\n - This helps integrate Claude Code with the project's issue tracking, PRs/MRs, and CI/CD\n\n### STEP 3: Review pre-computed codebase statistics (if provided)\n\n- Check if CODEBASE STATISTICS section is provided in the prompt\n- If provided, you have:\n - **File extension counts** (e.g., .ts: 456, .py: 123) - interpret these as technologies\n - .ts, .tsx, .jsx = TypeScript/JavaScript\n - .py = Python\n - .rs = Rust\n - .go = Go\n - .rb = Ruby\n - .ex, .exs = Elixir\n - .vue = Vue.js\n - etc.\n - **Config file names** (e.g., package.json, Cargo.toml, go.mod) - these reveal frameworks and tools\n- If statistics are NOT provided, use Glob to discover file types\n - Example: glob(\"\\*_/_.ts\") to find TypeScript files\n - Example: glob(\"\\*_/_.py\") to find Python files\n\n### STEP 4: Examine key configuration files\n\n- Config files are already identified in the statistics (if provided)\n- Use Read tool to examine important config files:\n - package.json - reveals Node.js frameworks, dependencies\n - Cargo.toml - reveals Rust dependencies\n - go.mod - reveals Go dependencies\n - requirements.txt, pyproject.toml - reveals Python dependencies\n - mix.exs - reveals Elixir dependencies\n- Use Grep to search for framework-specific patterns\n - Example: grep(\"import.\\*react\") to confirm React usage\n - Example: grep(\"from django\") to confirm Django usage\n\n### STEP 5: Identify technologies and patterns\n\n- Programming languages (TypeScript, Python, Go, Rust, Ruby, etc.)\n- Frameworks and libraries (React, Vue, Django, Rails, etc.)\n- Testing frameworks (Jest, Pytest, RSpec, etc.)\n- Build tools and infrastructure (Docker, Kubernetes, etc.)\n- Development practices (API development, frontend development, mobile, etc.)\n- Content patterns (blog posts, documentation, CMS usage)\n- CI/CD configurations\n- Accessibility tooling\n\n### STEP 6: Match findings to available plugins\n\n- Look at the plugin descriptions and keywords below\n- Cross-reference detected technologies with available jutsu-\\* plugins\n- Cross-reference development practices with available do-\\* plugins\n- Cross-reference integrations with available hashi-\\* plugins\n- ONLY recommend plugins from the list provided\n- Aim for 3-8 total plugins that best match the codebase\n- Always include \"bushido\" as it's the core plugin\n\n## Output Format\n\nReturn ONLY a JSON array of recommended plugin names from the available plugins list:\n\n```json\n[\"bushido\", \"jutsu-typescript\", \"jutsu-react\", \"do-frontend-development\"]\n```\n\n**CRITICAL**: Only recommend plugins that appear in the AVAILABLE PLUGINS list below. Never recommend plugins not in the list.\n";
|
|
3
3
|
//# sourceMappingURL=build-info.generated.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
// Auto-generated by build-bundle.js - DO NOT EDIT
|
|
2
|
-
export const HAN_VERSION = "1.
|
|
2
|
+
export const HAN_VERSION = "1.44.0";
|
|
3
3
|
export const DETECT_PLUGINS_PROMPT = "<!--\nThis prompt template is dynamically enhanced in shared.ts with:\n1. GIT REPOSITORY section - Remote URL to determine hosting platform (GitHub, GitLab, etc.)\n2. CURRENTLY INSTALLED PLUGINS section - List of plugins already installed (if any)\n3. CODEBASE STATISTICS section - File extensions and config file names from codebase-analyzer.ts\n4. AVAILABLE PLUGINS IN MARKETPLACE section - Plugin list from marketplace.json\n\nThese sections are appended to this base prompt at runtime.\n-->\n\n# Han Plugin Installer Assistant\n\nYou are a Han plugin installer assistant. Your goal is to analyze the current codebase and recommend appropriate Claude Code plugins from the Han marketplace.\n\nThe available plugins from the marketplace are provided below. ONLY recommend plugins from this list.\n\n## Plugin Categories\n\n- **jutsu-\\*** (武器 weapons): Skills for specific technologies and frameworks\n- **do-\\*** (道 disciplines): Specialized agents for development practices and workflows\n- **hashi-\\*** (先生 teachers): MCP servers for external integrations\n- **bushido**: Core quality principles (ALWAYS recommend this)\n\n## Your Analysis Process\n\n### STEP 1: Analyze currently installed plugins (if provided)\n\n- Check if CURRENTLY INSTALLED PLUGINS section is provided in the prompt\n- If provided, you should:\n - **Understand why each plugin was likely added**: Look at plugin descriptions and infer original use case\n - Example: `jutsu-typescript` suggests TypeScript development\n - Example: `hashi-github` suggests GitHub integration needs\n - Example: `do-frontend-development` suggests frontend focus\n - **Determine if each plugin is still relevant**:\n - Use the codebase statistics and configuration files to verify if the technology/practice is still in use\n - A plugin is still relevant if its associated technology/practice is actively used in the codebase\n - A plugin may be irrelevant if:\n - The technology was removed (e.g., no more .ts files but jutsu-typescript is installed)\n - The project migrated to a different platform (e.g., moved from GitHub to GitLab)\n - The framework changed (e.g., migrated from React to Vue)\n - **Keep relevant plugins in your recommendations**: If a plugin is still relevant, include it in your final list\n - **Exclude irrelevant plugins**: If a plugin is no longer needed, do not include it in your recommendations\n\n### STEP 2: Check git repository hosting platform (if provided)\n\n- Check if GIT REPOSITORY section is provided in the prompt\n- If provided, examine the remote URL to determine the hosting platform:\n - URLs containing `github.com` → recommend `hashi-github`\n - URLs containing `gitlab.com` or other GitLab instances → recommend `hashi-gitlab`\n - This helps integrate Claude Code with the project's issue tracking, PRs/MRs, and CI/CD\n\n### STEP 3: Review pre-computed codebase statistics (if provided)\n\n- Check if CODEBASE STATISTICS section is provided in the prompt\n- If provided, you have:\n - **File extension counts** (e.g., .ts: 456, .py: 123) - interpret these as technologies\n - .ts, .tsx, .jsx = TypeScript/JavaScript\n - .py = Python\n - .rs = Rust\n - .go = Go\n - .rb = Ruby\n - .ex, .exs = Elixir\n - .vue = Vue.js\n - etc.\n - **Config file names** (e.g., package.json, Cargo.toml, go.mod) - these reveal frameworks and tools\n- If statistics are NOT provided, use Glob to discover file types\n - Example: glob(\"\\*_/_.ts\") to find TypeScript files\n - Example: glob(\"\\*_/_.py\") to find Python files\n\n### STEP 4: Examine key configuration files\n\n- Config files are already identified in the statistics (if provided)\n- Use Read tool to examine important config files:\n - package.json - reveals Node.js frameworks, dependencies\n - Cargo.toml - reveals Rust dependencies\n - go.mod - reveals Go dependencies\n - requirements.txt, pyproject.toml - reveals Python dependencies\n - mix.exs - reveals Elixir dependencies\n- Use Grep to search for framework-specific patterns\n - Example: grep(\"import.\\*react\") to confirm React usage\n - Example: grep(\"from django\") to confirm Django usage\n\n### STEP 5: Identify technologies and patterns\n\n- Programming languages (TypeScript, Python, Go, Rust, Ruby, etc.)\n- Frameworks and libraries (React, Vue, Django, Rails, etc.)\n- Testing frameworks (Jest, Pytest, RSpec, etc.)\n- Build tools and infrastructure (Docker, Kubernetes, etc.)\n- Development practices (API development, frontend development, mobile, etc.)\n- Content patterns (blog posts, documentation, CMS usage)\n- CI/CD configurations\n- Accessibility tooling\n\n### STEP 6: Match findings to available plugins\n\n- Look at the plugin descriptions and keywords below\n- Cross-reference detected technologies with available jutsu-\\* plugins\n- Cross-reference development practices with available do-\\* plugins\n- Cross-reference integrations with available hashi-\\* plugins\n- ONLY recommend plugins from the list provided\n- Aim for 3-8 total plugins that best match the codebase\n- Always include \"bushido\" as it's the core plugin\n\n## Output Format\n\nReturn ONLY a JSON array of recommended plugin names from the available plugins list:\n\n```json\n[\"bushido\", \"jutsu-typescript\", \"jutsu-react\", \"do-frontend-development\"]\n```\n\n**CRITICAL**: Only recommend plugins that appear in the AVAILABLE PLUGINS list below. Never recommend plugins not in the list.\n";
|
|
4
4
|
//# sourceMappingURL=build-info.generated.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dispatch.d.ts","sourceRoot":"","sources":["../../../../lib/commands/hook/dispatch.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"dispatch.d.ts","sourceRoot":"","sources":["../../../../lib/commands/hook/dispatch.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAgVzC,wBAAgB,oBAAoB,CAAC,WAAW,EAAE,OAAO,GAAG,IAAI,CAsB/D"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { execSync } from "node:child_process";
|
|
2
2
|
import { existsSync, readFileSync } from "node:fs";
|
|
3
3
|
import { join } from "node:path";
|
|
4
|
-
import { getClaudeConfigDir, getMergedPluginsAndMarketplaces, } from "../../claude-settings.js";
|
|
4
|
+
import { getClaudeConfigDir, getMergedPluginsAndMarketplaces, getSettingsPaths, readSettingsFile, } from "../../claude-settings.js";
|
|
5
5
|
/**
|
|
6
6
|
* Read and parse stdin JSON payload from Claude Code hooks
|
|
7
7
|
*/
|
|
@@ -143,16 +143,78 @@ function executeCommandHook(command, pluginRoot, timeout) {
|
|
|
143
143
|
return null;
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
|
+
/**
|
|
147
|
+
* Execute hooks from settings files (not from Han plugins)
|
|
148
|
+
*/
|
|
149
|
+
function dispatchSettingsHooks(hookType, outputs) {
|
|
150
|
+
for (const { path } of getSettingsPaths()) {
|
|
151
|
+
// Check settings.json for hooks
|
|
152
|
+
const settings = readSettingsFile(path);
|
|
153
|
+
if (settings?.hooks) {
|
|
154
|
+
const hookGroups = settings.hooks[hookType];
|
|
155
|
+
if (Array.isArray(hookGroups)) {
|
|
156
|
+
for (const group of hookGroups) {
|
|
157
|
+
if (typeof group === "object" &&
|
|
158
|
+
group !== null &&
|
|
159
|
+
"hooks" in group &&
|
|
160
|
+
Array.isArray(group.hooks)) {
|
|
161
|
+
for (const hook of group.hooks) {
|
|
162
|
+
if (hook.type === "command" && hook.command) {
|
|
163
|
+
const output = executeCommandHook(hook.command, process.cwd(), hook.timeout || 30000);
|
|
164
|
+
if (output) {
|
|
165
|
+
outputs.push(output);
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
// Also check for hooks.json in the same directory
|
|
174
|
+
const hooksJsonPath = path.replace(/settings(\.local)?\.json$/, "hooks.json");
|
|
175
|
+
if (hooksJsonPath !== path && existsSync(hooksJsonPath)) {
|
|
176
|
+
try {
|
|
177
|
+
const content = readFileSync(hooksJsonPath, "utf-8");
|
|
178
|
+
const hooksJson = JSON.parse(content);
|
|
179
|
+
// hooks.json can have hooks at root level or under "hooks" key
|
|
180
|
+
const hooksObj = hooksJson.hooks ?? hooksJson;
|
|
181
|
+
const hookGroups = hooksObj[hookType];
|
|
182
|
+
if (Array.isArray(hookGroups)) {
|
|
183
|
+
for (const group of hookGroups) {
|
|
184
|
+
if (typeof group === "object" &&
|
|
185
|
+
group !== null &&
|
|
186
|
+
"hooks" in group &&
|
|
187
|
+
Array.isArray(group.hooks)) {
|
|
188
|
+
for (const hook of group.hooks) {
|
|
189
|
+
if (hook.type === "command" && hook.command) {
|
|
190
|
+
const output = executeCommandHook(hook.command, process.cwd(), hook.timeout || 30000);
|
|
191
|
+
if (output) {
|
|
192
|
+
outputs.push(output);
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
catch {
|
|
201
|
+
// Invalid JSON, skip
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
}
|
|
146
206
|
/**
|
|
147
207
|
* Dispatch hooks of a specific type across all installed plugins.
|
|
148
208
|
* Uses merged settings from all scopes (user, project, local, enterprise).
|
|
149
209
|
*/
|
|
150
|
-
function dispatchHooks(hookType) {
|
|
151
|
-
const { plugins, marketplaces } = getMergedPluginsAndMarketplaces();
|
|
152
|
-
if (plugins.size === 0) {
|
|
153
|
-
return;
|
|
154
|
-
}
|
|
210
|
+
function dispatchHooks(hookType, includeSettings = false) {
|
|
155
211
|
const outputs = [];
|
|
212
|
+
// Dispatch settings hooks if --all is specified
|
|
213
|
+
if (includeSettings) {
|
|
214
|
+
dispatchSettingsHooks(hookType, outputs);
|
|
215
|
+
}
|
|
216
|
+
// Dispatch Han plugin hooks
|
|
217
|
+
const { plugins, marketplaces } = getMergedPluginsAndMarketplaces();
|
|
156
218
|
for (const [pluginName, marketplace] of plugins.entries()) {
|
|
157
219
|
const marketplaceConfig = marketplaces.get(marketplace);
|
|
158
220
|
const result = loadPluginHooks(pluginName, marketplace, marketplaceConfig);
|
|
@@ -182,6 +244,7 @@ export function registerHookDispatch(hookCommand) {
|
|
|
182
244
|
hookCommand
|
|
183
245
|
.command("dispatch <hookType>")
|
|
184
246
|
.description("Dispatch hooks of a specific type across all installed Han plugins.\n" +
|
|
247
|
+
"By default, only runs Han plugin hooks. Use --all to include settings hooks.\n\n" +
|
|
185
248
|
"This is a workaround for Claude Code bug #12151 where plugin hook output\n" +
|
|
186
249
|
"is not passed to the agent. Add this to ~/.claude/settings.json:\n\n" +
|
|
187
250
|
' "hooks": {\n' +
|
|
@@ -190,8 +253,9 @@ export function registerHookDispatch(hookCommand) {
|
|
|
190
253
|
' "SessionStart": [{"hooks": [{"type": "command",\n' +
|
|
191
254
|
' "command": "npx -y @thebushidocollective/han hook dispatch SessionStart"}]}]\n' +
|
|
192
255
|
" }")
|
|
193
|
-
.
|
|
194
|
-
|
|
256
|
+
.option("-a, --all", "Include hooks from Claude Code settings (not just Han plugins)")
|
|
257
|
+
.action((hookType, options) => {
|
|
258
|
+
dispatchHooks(hookType, options.all ?? false);
|
|
195
259
|
});
|
|
196
260
|
}
|
|
197
261
|
//# sourceMappingURL=dispatch.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dispatch.js","sourceRoot":"","sources":["../../../../lib/commands/hook/dispatch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,OAAO,EACN,kBAAkB,EAClB,+BAA+B,
|
|
1
|
+
{"version":3,"file":"dispatch.js","sourceRoot":"","sources":["../../../../lib/commands/hook/dispatch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,OAAO,EACN,kBAAkB,EAClB,+BAA+B,EAC/B,gBAAgB,EAEhB,gBAAgB,GAChB,MAAM,0BAA0B,CAAC;AAElC;;GAEG;AACH,SAAS,gBAAgB;IACxB,IAAI,CAAC;QACJ,+CAA+C;QAC/C,MAAM,KAAK,GAAG,YAAY,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC;QACvC,IAAI,KAAK,CAAC,IAAI,EAAE,EAAE,CAAC;YAClB,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QAC1B,CAAC;IACF,CAAC;IAAC,MAAM,CAAC;QACR,uDAAuD;IACxD,CAAC;IACD,OAAO,IAAI,CAAC;AACb,CAAC;AAED,iDAAiD;AACjD,IAAI,kBAA8D,CAAC;AACnE,SAAS,eAAe;IACvB,IAAI,kBAAkB,KAAK,SAAS,EAAE,CAAC;QACtC,kBAAkB,GAAG,gBAAgB,EAAE,CAAC;IACzC,CAAC;IACD,OAAO,kBAAkB,CAAC;AAC3B,CAAC;AAoBD;;GAEG;AACH,SAAS,uBAAuB,CAC/B,eAAuB,EACvB,UAAkB;IAElB,MAAM,cAAc,GA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0B,EAAE,EAAE;QACxD,aAAa,CAAC,QAAQ,EAAE,OAAO,CAAC,GAAG,IAAI,KAAK,CAAC,CAAC;IAC/C,CAAC,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"explain.d.ts","sourceRoot":"","sources":["../../../../lib/commands/hook/explain.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"explain.d.ts","sourceRoot":"","sources":["../../../../lib/commands/hook/explain.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAoYzC,wBAAgB,mBAAmB,CAAC,WAAW,EAAE,OAAO,GAAG,IAAI,CAoB9D"}
|
|
@@ -194,10 +194,11 @@ function formatHook(hook, indent) {
|
|
|
194
194
|
/**
|
|
195
195
|
* Explain all configured hooks
|
|
196
196
|
*/
|
|
197
|
-
function explainHooks(hookType) {
|
|
197
|
+
function explainHooks(hookType, showAll = false) {
|
|
198
198
|
const settingsHooks = getSettingsHooks();
|
|
199
199
|
const pluginHooks = getPluginHooks();
|
|
200
|
-
|
|
200
|
+
// By default, only show Han plugin hooks. Use --all to include settings hooks.
|
|
201
|
+
const allHooks = showAll ? [...settingsHooks, ...pluginHooks] : pluginHooks;
|
|
201
202
|
// Filter by hook type if specified
|
|
202
203
|
const filteredHooks = hookType
|
|
203
204
|
? allHooks.filter((h) => h.hookType.toLowerCase() === hookType.toLowerCase())
|
|
@@ -262,14 +263,17 @@ function explainHooks(hookType) {
|
|
|
262
263
|
export function registerHookExplain(hookCommand) {
|
|
263
264
|
hookCommand
|
|
264
265
|
.command("explain [hookType]")
|
|
265
|
-
.description("Show comprehensive information about
|
|
266
|
-
"
|
|
266
|
+
.description("Show comprehensive information about configured hooks.\n" +
|
|
267
|
+
"By default, shows only Han plugin hooks.\n" +
|
|
268
|
+
"Use --all to include hooks from Claude Code settings.\n\n" +
|
|
267
269
|
"Examples:\n" +
|
|
268
|
-
" han hook explain # Show
|
|
269
|
-
" han hook explain Stop # Show only Stop hooks\n" +
|
|
270
|
-
" han hook explain
|
|
271
|
-
|
|
272
|
-
|
|
270
|
+
" han hook explain # Show Han plugin hooks\n" +
|
|
271
|
+
" han hook explain Stop # Show only Stop hooks from Han plugins\n" +
|
|
272
|
+
" han hook explain --all # Show all hooks including settings\n" +
|
|
273
|
+
" han hook explain Stop --all")
|
|
274
|
+
.option("-a, --all", "Include hooks from Claude Code settings (not just Han plugins)")
|
|
275
|
+
.action((hookType, options) => {
|
|
276
|
+
explainHooks(hookType, options.all ?? false);
|
|
273
277
|
});
|
|
274
278
|
}
|
|
275
279
|
//# sourceMappingURL=explain.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"explain.js","sourceRoot":"","sources":["../../../../lib/commands/hook/explain.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,OAAO,EACN,kBAAkB,EAClB,+BAA+B,EAC/B,gBAAgB,EAEhB,gBAAgB,GAEhB,MAAM,0BAA0B,CAAC;AA6BlC;;GAEG;AACH,SAAS,uBAAuB,CAC/B,eAAuB,EACvB,UAAkB;IAElB,MAAM,cAAc,GAAG;QACtB,IAAI,CAAC,eAAe,EAAE,OAAO,EAAE,UAAU,CAAC;QAC1C,IAAI,CAAC,eAAe,EAAE,IAAI,EAAE,UAAU,CAAC;QACvC,IAAI,CAAC,eAAe,EAAE,OAAO,EAAE,UAAU,CAAC;QAC1C,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC;KACjC,CAAC;IAEF,KAAK,MAAM,IAAI,IAAI,cAAc,EAAE,CAAC;QACnC,IAAI,UAAU,CAAC,IAAI,CAAC,EAAE,CAAC;YACtB,OAAO,IAAI,CAAC;QACb,CAAC;IACF,CA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CAAC,SAAS,CAAC,CAAC;IACvB,OAAO,CAAC,GAAG,CACV,+EAA+E,CAC/E,CAAC;IACF,OAAO,CAAC,GAAG,CACV,kFAAkF,CAClF,CAAC;IACF,OAAO,CAAC,GAAG,CACV,+EAA+E,CAC/E,CAAC;AACH,CAAC;AAED,MAAM,UAAU,mBAAmB,CAAC,WAAoB;IACvD,WAAW;SACT,OAAO,CAAC,oBAAoB,CAAC;SAC7B,WAAW,CACX,0DAA0D;QACzD,4CAA4C;QAC5C,2DAA2D;QAC3D,aAAa;QACb,wDAAwD;QACxD,wEAAwE;QACxE,oEAAoE;QACpE,+BAA+B,CAChC;SACA,MAAM,CACN,WAAW,EACX,gEAAgE,CAChE;SACA,MAAM,CAAC,CAAC,QAA4B,EAAE,OAA0B,EAAE,EAAE;QACpE,YAAY,CAAC,QAAQ,EAAE,OAAO,CAAC,GAAG,IAAI,KAAK,CAAC,CAAC;IAC9C,CAAC,CAAC,CAAC;AACL,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thebushidocollective/han",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.44.0",
|
|
4
4
|
"description": "CLI for installing and managing curated Claude Code plugins from the Han marketplace",
|
|
5
5
|
"main": "dist/lib/main.js",
|
|
6
6
|
"types": "dist/lib/main.d.ts",
|
|
@@ -51,11 +51,11 @@
|
|
|
51
51
|
"README.md"
|
|
52
52
|
],
|
|
53
53
|
"optionalDependencies": {
|
|
54
|
-
"@thebushidocollective/han-darwin-arm64": "1.
|
|
55
|
-
"@thebushidocollective/han-darwin-x64": "1.
|
|
56
|
-
"@thebushidocollective/han-linux-arm64": "1.
|
|
57
|
-
"@thebushidocollective/han-linux-x64": "1.
|
|
58
|
-
"@thebushidocollective/han-win32-x64": "1.
|
|
54
|
+
"@thebushidocollective/han-darwin-arm64": "1.44.0",
|
|
55
|
+
"@thebushidocollective/han-darwin-x64": "1.44.0",
|
|
56
|
+
"@thebushidocollective/han-linux-arm64": "1.44.0",
|
|
57
|
+
"@thebushidocollective/han-linux-x64": "1.44.0",
|
|
58
|
+
"@thebushidocollective/han-win32-x64": "1.44.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@anthropic-ai/claude-agent-sdk": "0.1.50",
|