Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions checks/chezmoi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ fi

# A modify_ script's stdout REPLACES its target file, so a script that fails
# and prints nothing truncates the config to zero bytes. That is exactly what
# dot_codex/modify_config.toml did once tomlq was installed: its merge fed both
# dot_codex/modify_private_config.toml did once tomlq was installed: its merge fed both
# TOML documents in as one stream, tomlq rejected the duplicate tables, and the
# script emitted nothing. Checking "is tomlq installed" would not have caught
# it -- installing tomlq is what triggered it. So smoke-test the real invariant
# instead: feed the script the live config and require usable output back.
modify_script="$DOTFILES/dot_codex/modify_config.toml"
modify_script="$DOTFILES/dot_codex/modify_private_config.toml"
codex_cfg="$HOME/.codex/config.toml"
if [[ -f "$modify_script" && -f "$codex_cfg" ]]; then
out=$(sh "$modify_script" < "$codex_cfg" 2>/dev/null)
Expand Down
2 changes: 1 addition & 1 deletion checks/pi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
hdr "pi agent stack"

pi_settings="$HOME/.pi/agent/settings.json"
pi_modify="$DOTFILES/dot_pi/agent/modify_settings.json"
pi_modify="$DOTFILES/dot_pi/private_agent/modify_settings.json"
subagent_config="$HOME/.pi/agent/extensions/subagent/config.json"
module_bridge="$HOME/.pi/agent/node_modules"
mcp_config="$HOME/.config/mcp/mcp.json"
Expand Down
10 changes: 9 additions & 1 deletion checks/zsh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,18 @@ if [[ -d "$ZSH_PLUGIN_DIR/powerlevel10k" ]]; then
else
warn "p10k instant-prompt cache missing — first shell after install is slow until generated"
fi
# p10k spawns gitstatusd lazily, on the first prompt render. dot-doctor runs
# non-interactively, so absence here carries no signal: it means no prompt has
# rendered in this context, not that anything is wrong. Counting zsh processes
# does not help either — every tool-spawned subshell is one. Only report the
# daemon when it is present, and only warn when it cannot possibly start.
gitstatusd_bin="$(find "${XDG_CACHE_HOME:-$HOME/.cache}/gitstatus" -maxdepth 1 -name 'gitstatusd-*' -perm -u+x 2>/dev/null | head -1)"
if pgrep -x gitstatusd >/dev/null 2>&1; then
ok "gitstatusd daemon alive"
elif [[ -n "$gitstatusd_bin" ]]; then
ok "gitstatusd binary present (spawns on first interactive prompt)"
else
warn "gitstatusd not running (interactive shell hasn't started yet?)"
warn "gitstatusd binary missing — p10k falls back to slow git status"
fi
fi

Expand Down
File renamed without changes.
15 changes: 9 additions & 6 deletions dot_grok/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ context_window = 272000
command = "grok-codex-token"
timeout_secs = 10

[model_providers.openai]
base_url = "https://api.openai.com/v1"
api_backend = "responses"
env_key = "OPENAI_API_KEY"
context_window = 400000

[model."chatgpt-gpt-5.6-sol"]
model = "gpt-5.6-sol"
name = "GPT-5.6 Sol (ChatGPT)"
Expand Down Expand Up @@ -68,12 +74,6 @@ description = "Small, fast model for simpler coding tasks"
model_provider = "chatgpt"
responses_system_role_developer = true

[model_providers.openai]
base_url = "https://api.openai.com/v1"
api_backend = "responses"
env_key = "OPENAI_API_KEY"
context_window = 400000

[model."openai-gpt-5.6-sol"]
model = "gpt-5.6-sol"
name = "GPT-5.6 Sol (OpenAI API)"
Expand Down Expand Up @@ -110,3 +110,6 @@ model = "gpt-5.4-mini"
name = "GPT-5.4 Mini (OpenAI API)"
description = "OpenAI API model using OPENAI_API_KEY"
model_provider = "openai"

[models]
default = "chatgpt-gpt-5.6-sol"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions dot_zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -341,3 +341,6 @@ setopt HIST_REDUCE_BLANKS # tidy whitespace before saving
# Google Cloud SDK
[ -f "$HOME/Downloads/google-cloud-sdk/path.zsh.inc" ] && source "$HOME/Downloads/google-cloud-sdk/path.zsh.inc"
[ -f "$HOME/Downloads/google-cloud-sdk/completion.zsh.inc" ] && source "$HOME/Downloads/google-cloud-sdk/completion.zsh.inc"

# kimi-code
export PATH="/Users/phall/.kimi-code/bin:$PATH"
2 changes: 1 addition & 1 deletion renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
{
"customType": "regex",
"description": "Pinned Pi extension packages shared by installation, chezmoi reconciliation, and doctor checks",
"managerFilePatterns": ["/^(scripts/install-agent-stack\\.sh|dot_pi/agent/modify_settings\\.json|checks/pi\\.sh)$/"],
"managerFilePatterns": ["/^(scripts/install-agent-stack\\.sh|dot_pi/private_agent/modify_settings\\.json|checks/pi\\.sh)$/"],
"matchStrings": ["(?<depName>(?:@[\\w-]+/)?[\\w-]+)@(?<currentValue>\\d+\\.\\d+\\.\\d+)"],
"datasourceTemplate": "npm",
"versioningTemplate": "npm"
Expand Down
Loading