Initial commit

This commit is contained in:
Zhongwei Li
2025-11-30 09:05:17 +08:00
commit 5d2339790d
4 changed files with 155 additions and 0 deletions

View File

@@ -0,0 +1,88 @@
{
"hooks": {
"SessionStart": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/hooks/session-start.sh",
"timeout": 5
}
]
}
],
"SessionEnd": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/hooks/session-end.sh",
"timeout": 5
}
]
}
],
"PostToolUse": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/hooks/activity.sh",
"timeout": 2
}
]
}
],
"UserPromptSubmit": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/hooks/activity.sh",
"timeout": 2
}
]
}
],
"Stop": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/hooks/activity.sh",
"timeout": 2
}
]
}
],
"SubagentStop": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/hooks/activity.sh",
"timeout": 2
}
]
}
],
"Notification": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/hooks/activity.sh",
"timeout": 2
}
]
}
]
}
}

View File

@@ -0,0 +1,19 @@
{
"name": "agent-tracker",
"description": "Tracks Claude Code sessions and displays them in a TUI dashboard",
"version": "1.0.0",
"author": {
"name": "Agent Tracker Team"
},
"hooks": [
"./.claude-plugin/hooks/hooks.json"
],
"mcp": {
"agent-tracker": {
"command": "node",
"args": [
"${CLAUDE_PLUGIN_ROOT}/mcp/dist/index.js"
]
}
}
}