Include upstream Caveman Codex SessionStart hook
This commit is contained in:
1 parent
074381889b
commit
692889f8fd
6 files changed
+39
-13
No files matched your search
@@ -19,7 +19,7 @@
|
||||
"interface": {
|
||||
"displayName": "Caveman",
|
||||
"shortDescription": "精简 Codex 输出,并提供调查、实现、迁移、重构、评审和验证工作流。",
|
||||
"longDescription": "Caveman 提供精简输出、提交信息、代码评审、问题调查、精益实现、安全重构、迁移、补丁和验证工作流。另含可选的 caveman-compress;它需要 Python 3.10 及 Anthropic API Key 或 Claude CLI,仅在用户明确指定文件后把该文件内容发送给 Anthropic。Claude Code 专用统计 hooks、statusline、Caveman CLI、代理和 MCP shrink 不包含在此插件中。",
|
||||
"longDescription": "Caveman 提供精简输出、提交信息、代码评审、问题调查、精益实现、安全重构、迁移、补丁和验证工作流。包含 Codex SessionStart hook:信任并启用后,在启动或恢复会话时注入 Caveman 模式;可要求 normal mode 停用,但恢复会话会再次注入。另含可选的 caveman-compress,需要 Python 3.10 及 Anthropic API Key 或 Claude CLI,仅在用户明确指定文件后把该文件内容发送给 Anthropic。Claude Code 专用统计 hooks、statusline、Caveman CLI、代理和 MCP shrink 不包含在此插件中。",
|
||||
"developerName": "Julius Brussee",
|
||||
"category": "Developer Tools",
|
||||
"capabilities": [
|
||||
@@ -38,5 +38,6 @@
|
||||
"logo": "./assets/caveman.svg",
|
||||
"screenshots": [],
|
||||
"brandColor": "#6B7280"
|
||||
}
|
||||
},
|
||||
"hooks": "./hooks/hooks.json"
|
||||
}
|
||||
@@ -5,5 +5,5 @@
|
||||
"commit": "15581d14007fd01fb3f132016741962f34936ca2",
|
||||
"adapter": "codex-plugin",
|
||||
"sourcePath": "plugins/caveman",
|
||||
"syncedAt": "2026-09-07T16:00:01Z"
|
||||
"syncedAt": "2026-09-10T23:13:42Z"
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"hooks": {
|
||||
"SessionStart": [
|
||||
{
|
||||
"matcher": "startup|resume",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "echo 'CAVEMAN MODE ACTIVE. Rules: Drop articles/filler/pleasantries/hedging. Fragments OK. Short synonyms. Pattern: [thing] [action] [reason]. [next step]. Not: Sure! I would be happy to help you with that. Yes: Bug in auth middleware. Fix: Code/commits/security: write normal. User says stop caveman or normal mode to deactivate.'",
|
||||
"timeout": 5,
|
||||
"statusMessage": "Loading caveman mode"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user