Z User
|
ab9fd10b5e
|
feat: Claude Code auto-detect (.mcp.json) + 20 MCP tools + health endpoint
Claude Code integration:
- .mcp.json at repo root for auto-detection (uses seed admin token)
- CLAUDE.md project instructions (commands, architecture, rules)
- Pre-seeded admin token: aos_admin_seed_token_for_claude_code_2026
- Scopes: all read + all write + mcp:read + mcp:write
- Works out of the box after bun run src/lib/seed.ts
5 new MCP read tools (20 total: 11 read + 9 write):
- get_buchhaltung: SKR04 Konten, Journal, Saldenliste, EÜR summary
- get_anlagen: Anlagenverzeichnis with AfA, book values, GWG
- get_kassenbuch: Cash book entries, running balance
- get_belege: Receipts with SHA-256 content hashes
- get_finanzamt: VAT returns, Jahreserklärungen, Jahresarchive
Fix: api-auth regex updated to allow underscores in tokens (aos_[a-z0-9_]+)
Health endpoint: GET /api/health (DB connection + version + uptime)
|
2026-10-27 20:23:50 +00:00 |
|
Z User
|
1a3241971c
|
dd04e5e9-8a88-45d0-b3b8-14caa1f684dc
|
2026-10-27 19:51:03 +00:00 |
|
Z User
|
7f7f364183
|
93dd2eec-4a55-4753-8474-c1bbde1564e9
|
2026-10-27 18:52:56 +00:00 |
|
Z User
|
c184513b2a
|
cc9d365d-6d71-4dbc-b48a-6bea87eb9854
|
2026-10-27 18:14:17 +00:00 |
|
Z User
|
0d0fa6b5e1
|
bbb245ef-c23d-4d22-87ba-d5366d9def16
|
2026-10-27 17:41:53 +00:00 |
|
Z User
|
3cb7532417
|
d7b304d4-c8e0-431e-b1b1-fcc645d323e1
|
2026-10-27 17:15:56 +00:00 |
|
Z User
|
25451d77eb
|
f2b43822-37b9-490c-b8bb-0888d61227a3
|
2026-10-27 16:53:07 +00:00 |
|
Z User
|
c8b4be55f3
|
e558113a-99ae-4e5a-9db1-dcd3475a4e04
|
2026-10-27 16:28:08 +00:00 |
|
Z User
|
fa8dd46571
|
refactor: professional code quality audit
- Fix all TypeScript compilation errors (0 errors in src/)
- Add try/catch error handling to ALL API routes (38 handlers)
- Fix empty catch blocks (api-auth.ts now logs warnings)
- Add aria-labels to all icon-only buttons (WCAG 2.1 AA)
- Fix Prisma type mismatches (OR filter, Person.companyId, Estimate.projectId, Ticket.createdAt)
- Fix webhook PATCH route (moved to [id]/route.ts)
- Fix mobile-bottom-nav type safety
- Fix KB route where-clause type
- Fix test-mail banner null vs undefined
- Fix task comment fetch: add cancellation + error toast
- ESLint: 0 errors, 0 warnings
- 175 files, 24.741 lines of code
|
2026-10-27 12:23:32 +00:00 |
|