mirror of
https://github.com/davila7/claude-code-templates.git
synced 2026-09-19 01:30:23 +08:00
990982ffa0
- Introduced settings for Amazon Bedrock, Google Vertex AI, and corporate proxy configurations. - Added custom headers support for API requests. - Implemented API key helper for dynamic authentication token generation. - Restricted login methods to Claude.ai and Anthropic Console accounts. - Configured bash command execution timeouts and performance optimizations. - Enhanced privacy settings by disabling telemetry and non-essential traffic. - Established AWS credential management for Bedrock integration. - Allowed additional directory access and common git operations. - Created comprehensive permissions for development and read-only modes. - Developed various status line configurations for improved user experience.
7 lines
717 B
JSON
7 lines
717 B
JSON
{
|
|
"description": "Display current model, directory, and git branch with change indicators in the status line. Shows model name, folder name, active branch, and count of uncommitted changes for complete development context.",
|
|
"statusLine": {
|
|
"type": "command",
|
|
"command": "bash -c 'input=$(cat); MODEL=$(echo \"$input\" | jq -r \".model.display_name\"); DIR=$(echo \"$input\" | jq -r \".workspace.current_dir\"); BRANCH=\"\"; if git rev-parse --git-dir >/dev/null 2>&1; then BRANCH=\" | 🌿 $(git branch --show-current 2>/dev/null)\"; CHANGES=$(git status --porcelain 2>/dev/null | wc -l); if [ $CHANGES -gt 0 ]; then BRANCH=\"$BRANCH ($CHANGES)\"; fi; fi; echo \"[$MODEL] 📁 ${DIR##*/}$BRANCH\"'"
|
|
}
|
|
} |