# ============================================================================
# Binary outputs
# ============================================================================
/cc-connect
cc-connect.bak-*
*.exe
*.exe~
*.dll
*.so
*.dylib
*.test
*.out
*.old

# ============================================================================
# Go workspace & tooling
# ============================================================================
# Test binary, built with `go test -c`
*.test

# Output of the go coverage tool
coverage.html
coverage.txt
*.out

# Go workspace files (go.work)
go.work
go.work.sum

# Go module environment (local proxy settings)
go.env

# Dependency directories
vendor/

# ============================================================================
# Project-specific
# ============================================================================
# Runtime configuration (contains secrets)
config.toml
config.*.toml
!config.example.toml
.env
*.local.toml

# Instance lock files (created at startup, released on shutdown)
*.toml.lock

# CC-Connect runtime state
.cc-connect/

# npm / pnpm (for npm package distribution and web admin)
.npmrc
package-lock.json
node_modules/
.vite/

# ============================================================================
# Build & distribution
# ============================================================================
dist/
build/
bin/
release/
# Keep web/dist directory (for embedded admin UI) but ignore build artifacts
web/dist/*
!web/dist/.keep
# TypeScript incremental build cache — generated locally, should not be committed
web/tsconfig.tsbuildinfo

# ============================================================================
# Testing & temporary files
# ============================================================================
test/
scripts/
tmp/
temp/
*.tmp
*.swp
*.swo
*~
*.pid
*.log

# ============================================================================
# IDE & Editor
# ============================================================================
.vscode/
.idea/
*.iml
*.ipr
*.iws
.vs/
*.suo
*.user
*.userosscache
*.sln.docstates

# Emacs
*~
\#*\#
.\#*

# Vim
*.swp
*.swo
*.swn

# macOS
.DS_Store
.AppleDouble
.LSOverride

# ============================================================================
# Documentation (drafts)
# ============================================================================
RELEASE.md
DRAFTS.md
NOTES.md

# ============================================================================
# System
# ============================================================================
# Thumbs.db on Windows
Thumbs.db
ehthumbs.db
Desktop.ini

# ============================================================================
# AI agent planning artifacts
# ============================================================================
.planning/

# ============================================================================
# Security
# ============================================================================
# Never commit secrets or credentials
*.key
*.pem
*.p12
*.pfx
secrets/
credentials/

.codex
cc-connect-new
