This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -e | |
| # Claude Code PostToolUse hook for formatting and linting | |
| # Reads JSON from stdin and runs formatting on edited files | |
| INPUT=$(cat) | |
| # Debug: show what we received | |
| echo "Received input: $INPUT" >&2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -e | |
| # Claude Code PostToolUse hook for type checking | |
| # Reads JSON from stdin and runs TypeScript compiler on the project when TS files are modified | |
| INPUT=$(cat) | |
| # Debug: show what we received | |
| echo "Received input: $INPUT" >&2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -e | |
| # Colors for output | |
| GREEN='\033[0;32m' | |
| YELLOW='\033[1;33m' | |
| RED='\033[0;31m' | |
| NC='\033[0m' # No Color | |
| # Get schema from environment or use 'public' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import uuid | |
| from typing import List | |
| import requests | |
| from fastapi import HTTPException | |
| def get_profiles(api_url: str, headers: dict) -> List[dict]: | |
| """ |