mirror of
https://github.com/tiennm99/ccs.git
synced 2026-09-07 22:20:18 +00:00
Gate /api/bar/* behind the localhost-when-auth-disabled guard (single DRY choke point) so native quota/tier/cost can't leak on a non-loopback bind with auth disabled; add a guard test. Delete the dishonest maxRedirections test that asserted the opposite of the production redirect hardening. Key per-account today-cost on the local day (matching analytics) instead of UTC. Stop the inner 429 retry in the Claude usage fetch so the outer cache + circuit breaker honor Retry-After. Narrow the usage-transformer map type and fix stale doc-comments; clarify the one-alert-per-reset-window quota rule; gitignore the local demo scaffolding.
69 lines
1.0 KiB
Plaintext
69 lines
1.0 KiB
Plaintext
# User config files
|
|
# Note: config files now live in ~/.ccs/, not in project directory
|
|
repomix-output.xml
|
|
.ccs.json
|
|
|
|
# macOS
|
|
.DS_Store
|
|
|
|
# Editor
|
|
.vscode/
|
|
.idea/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
|
|
# Plans directory
|
|
plans/
|
|
*.tgz
|
|
|
|
# Node.js
|
|
node_modules/
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
|
|
# TypeScript build output
|
|
dist/
|
|
*.tsbuildinfo
|
|
|
|
# Package lock files (use bun.lock only)
|
|
yarn.lock
|
|
pnpm-lock.yaml
|
|
package-lock.json
|
|
|
|
.claude/active-plan
|
|
.claude/agent-memory/
|
|
.claude/plans-registry.json*
|
|
CLAUDE.local.md
|
|
AGENTS.override.md
|
|
|
|
# Logs directory
|
|
logs/
|
|
|
|
# CI-generated files
|
|
.dev-release-info.json
|
|
|
|
# Test coverage
|
|
ui/coverage/
|
|
|
|
# UI build artifacts (generated by tsc -b in pre-commit hooks)
|
|
ui/src/lib/*.js
|
|
ui/src/lib/*.d.ts
|
|
ui/src/lib/*.js.map
|
|
ui/src/lib/*.d.ts.map
|
|
|
|
# Test mock build artifacts
|
|
tests/mocks/*.js
|
|
tests/mocks/*.d.ts
|
|
tests/mocks/*.js.map
|
|
tests/mocks/*.d.ts.map
|
|
tests/mocks/fixtures/*.js
|
|
tests/mocks/fixtures/*.d.ts
|
|
tests/mocks/fixtures/*.js.map
|
|
tests/mocks/fixtures/*.d.ts.map
|
|
|
|
# Bar demo scaffolding (local dev only)
|
|
_serve*.ts
|
|
_serve*.log
|