[claude] Reformat and default to opus
This commit is contained in:
@ -2,10 +2,17 @@
|
|||||||
"env": {
|
"env": {
|
||||||
"CLAUDE_CODE_SUBAGENT_MODEL": "claude-sonnet-4-6"
|
"CLAUDE_CODE_SUBAGENT_MODEL": "claude-sonnet-4-6"
|
||||||
},
|
},
|
||||||
"model": "sonnet",
|
"model": "opus[1m]",
|
||||||
"hooks": {
|
"hooks": {
|
||||||
"Stop": [
|
"Stop": [
|
||||||
{ "hooks": [ { "type": "command", "command": "sh -c 'h=$(git rev-parse HEAD 2>/dev/null); [ -z \"$h\" ] && exit 0; f=\"$(git rev-parse --git-dir 2>/dev/null)/.sesh_last_capture_head\"; [ \"$h\" = \"$(cat \"$f\" 2>/dev/null)\" ] && exit 0; sesh capture --commit HEAD && echo \"$h\" > \"$f\"'" } ] }
|
{
|
||||||
|
"hooks": [
|
||||||
|
{
|
||||||
|
"type": "command",
|
||||||
|
"command": "sh -c 'h=$(git rev-parse HEAD 2>/dev/null); [ -z \"$h\" ] && exit 0; f=\"$(git rev-parse --git-dir 2>/dev/null)/.sesh_last_capture_head\"; [ \"$h\" = \"$(cat \"$f\" 2>/dev/null)\" ] && exit 0; sesh capture --commit HEAD && echo \"$h\" > \"$f\"'"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
],
|
],
|
||||||
"SubagentStop": [
|
"SubagentStop": [
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user