5b35551434
Document plugin-first packaging (manifest, commands, skills, hooks) and have install.sh build the CLI, install the tmux dashboard, and register the plugin so clone-and-setup matches how the project is shipped.
61 lines
1.2 KiB
JSON
61 lines
1.2 KiB
JSON
{
|
|
"description": "grok-build-hud: live context/quota/token annotations in Grok Build scrollback",
|
|
"hooks": {
|
|
"SessionStart": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "node \"${GROK_PLUGIN_ROOT}/dist/src/hook.js\"",
|
|
"timeout": 8
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"UserPromptSubmit": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "node \"${GROK_PLUGIN_ROOT}/dist/src/hook.js\"",
|
|
"timeout": 8
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"PostToolUse": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "node \"${GROK_PLUGIN_ROOT}/dist/src/hook.js\"",
|
|
"timeout": 8
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"Stop": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "node \"${GROK_PLUGIN_ROOT}/dist/src/hook.js\"",
|
|
"timeout": 8
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"SessionEnd": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "node \"${GROK_PLUGIN_ROOT}/dist/src/hook.js\"",
|
|
"timeout": 8
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|