mirror of
https://github.com/theniceboy/.config.git
synced 2026-02-22 21:05:57 +08:00
16 lines
781 B
JSON
16 lines
781 B
JSON
{
|
|
"env": {
|
|
"DISABLE_AUTOUPDATER": "1"
|
|
},
|
|
"includeCoAuthoredBy": false,
|
|
"alwaysThinkingEnabled": true,
|
|
"model": "claude-opus-4.5",
|
|
"small_model": "claude-sonnet-4.5",
|
|
"compaction": {
|
|
"auto": false
|
|
},
|
|
"statusLine": {
|
|
"type": "command",
|
|
"command": "input=$(cat); usage=$(echo \"$input\" | jq '.context_window.current_usage'); if [ \"$usage\" != \"null\" ]; then current=$(echo \"$usage\" | jq '.input_tokens + .cache_creation_input_tokens + .cache_read_input_tokens'); size=$(echo \"$input\" | jq '.context_window.context_window_size'); pct=$((current * 100 / size)); printf '%d%% context | ' \"$pct\"; fi; printf '%s in %s' \"$(echo \"$input\" | jq -r '.model.display_name')\" \"$(echo \"$input\" | jq -r '.workspace.current_dir' | sed 's|^/Users/david|~|')\""
|
|
}
|
|
}
|