Initial commit

This commit is contained in:
Zhongwei Li
2025-11-30 08:30:48 +08:00
commit 7f10117a9b
5 changed files with 80 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
{
"name": "force-japanese",
"description": "Forces Claude Code to use Japanese language even after SessionStart:compact resets",
"version": "0.2.0",
"author": {
"name": "kawaz"
},
"hooks": [
"./hooks"
]
}

3
README.md Normal file
View File

@@ -0,0 +1,3 @@
# force-japanese
Forces Claude Code to use Japanese language even after SessionStart:compact resets

2
hooks/force-japanese.sh Executable file
View File

@@ -0,0 +1,2 @@
#!/bin/sh
echo '{"hookSpecificOutput":{"hookEventName":"SessionStart","additionalContext":"チャットは日本語で。"}}'

15
hooks/hooks.json Normal file
View File

@@ -0,0 +1,15 @@
{
"hooks": {
"SessionStart": [
{
"matcher": "compact",
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/force-japanese.sh"
}
]
}
]
}
}

49
plugin.lock.json Normal file
View File

@@ -0,0 +1,49 @@
{
"$schema": "internal://schemas/plugin.lock.v1.json",
"pluginId": "gh:kawaz/claude-plugins:plugins/force-japanese",
"normalized": {
"repo": null,
"ref": "refs/tags/v20251128.0",
"commit": "8266137759b6ef4a047f6c0d808fb0d4f9e43d81",
"treeHash": "7c61346f9330980ac8339b08c07c1cd263f20749a7242dcaea714c8393746d0f",
"generatedAt": "2025-11-28T10:19:26.216194Z",
"toolVersion": "publish_plugins.py@0.2.0"
},
"origin": {
"remote": "git@github.com:zhongweili/42plugin-data.git",
"branch": "master",
"commit": "aa1497ed0949fd50e99e70d6324a29c5b34f9390",
"repoRoot": "/Users/zhongweili/projects/openmind/42plugin-data"
},
"manifest": {
"name": "force-japanese",
"description": "Forces Claude Code to use Japanese language even after SessionStart:compact resets",
"version": "0.2.0"
},
"content": {
"files": [
{
"path": "README.md",
"sha256": "4147dec104b6074780a9ce2926ad83a9b4a3db8d75e49ba587dae8c50dcbbb55"
},
{
"path": "hooks/force-japanese.sh",
"sha256": "565bf0bd2c402ed772cb6cc41d8a1a08829c26ddcf20a15c4547e2bd828b7e19"
},
{
"path": "hooks/hooks.json",
"sha256": "32da22af7b1126bf0d59f0f95798c78f5e9f95aac23bd7b16ac74ec1f393b9a5"
},
{
"path": ".claude-plugin/plugin.json",
"sha256": "a344fa3825ba854df482bd4ecb9fee0e607de3232031b395957ef99b1143193f"
}
],
"dirSha256": "7c61346f9330980ac8339b08c07c1cd263f20749a7242dcaea714c8393746d0f"
},
"security": {
"scannedAt": null,
"scannerVersion": null,
"flags": []
}
}