feat: add status line with agent display + fix pa-mode keybind
Status line shows: [agent-name] Model | X% context - Added statusline.sh script that reads CLAUDE_AGENT env var - Configured settings.json to use the status line script Fixed pa-mode keybind issue (terminal closing immediately): - Changed from detached session + attach to exec tmux -A - Using exec replaces shell process, keeping terminal open - Added CLAUDE_AGENT env var export for status line 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"model": "opus",
|
||||
"enabledPlugins": {
|
||||
"frontend-design@claude-plugins-official": true,
|
||||
"typescript-lsp@claude-plugins-official": true,
|
||||
@@ -6,62 +7,9 @@
|
||||
"superpowers@superpowers-marketplace": true
|
||||
},
|
||||
"alwaysThinkingEnabled": true,
|
||||
"model": "opus",
|
||||
"agents": {
|
||||
"k8s-orchestrator": {
|
||||
"model": "opus",
|
||||
"promptFile": "agents/k8s-orchestrator.md",
|
||||
"description": "Central orchestrator for K8s cluster management tasks"
|
||||
},
|
||||
"k8s-diagnostician": {
|
||||
"model": "sonnet",
|
||||
"promptFile": "agents/k8s-diagnostician.md",
|
||||
"description": "Cluster health, pod/node status, log analysis"
|
||||
},
|
||||
"argocd-operator": {
|
||||
"model": "sonnet",
|
||||
"promptFile": "agents/argocd-operator.md",
|
||||
"description": "ArgoCD app sync, deployments, rollbacks"
|
||||
},
|
||||
"prometheus-analyst": {
|
||||
"model": "sonnet",
|
||||
"promptFile": "agents/prometheus-analyst.md",
|
||||
"description": "Metrics queries, alert analysis, trends"
|
||||
},
|
||||
"git-operator": {
|
||||
"model": "sonnet",
|
||||
"promptFile": "agents/git-operator.md",
|
||||
"description": "Git commits, PRs, manifest management"
|
||||
}
|
||||
"statusLine": {
|
||||
"type": "command",
|
||||
"command": "~/.claude/automation/statusline.sh"
|
||||
},
|
||||
"autonomy": {
|
||||
"safe_actions": [
|
||||
"get",
|
||||
"describe",
|
||||
"logs",
|
||||
"list",
|
||||
"top",
|
||||
"diff",
|
||||
"refresh"
|
||||
],
|
||||
"confirm_actions": [
|
||||
"delete",
|
||||
"patch",
|
||||
"edit",
|
||||
"scale",
|
||||
"rollout",
|
||||
"apply",
|
||||
"sync",
|
||||
"commit",
|
||||
"push",
|
||||
"create-pr"
|
||||
],
|
||||
"forbidden_actions": [
|
||||
"drain",
|
||||
"cordon",
|
||||
"delete node",
|
||||
"reset",
|
||||
"delete namespace"
|
||||
]
|
||||
}
|
||||
"_note": "Agent definitions moved to ~/.claude/agents/*.md with YAML frontmatter. Autonomy levels now in ~/.claude/state/autonomy-levels.json"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user