Initial commit — Cortex API + Inara identity
Cortex: FastAPI backend serving Inara via Claude/Gemini CLI backends. Includes SSE streaming chat, session persistence, Google Chat webhook handler, and Docker support. Inara: Identity files (persona, soul, protocols, memory, context tiers) mounted read-only into the container at runtime. Features in initial cut: - /chat endpoint with SSE keepalive + LLM fallback - Session store with rolling history window - Markdown rendering, copy-to-clipboard, links open in new tab - Stacked right-column input controls (height selector, enter toggle, note mode with public/private) — semi-hidden until textarea grows - /note endpoint for injecting public context into session history - Docker Compose config (local dev runs natively; Docker for server) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
21
.gitignore
vendored
Normal file
21
.gitignore
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
# Environments
|
||||
.venv/
|
||||
__pycache__/
|
||||
*.pyc
|
||||
|
||||
# Secrets — keep .env.example, never commit real .env
|
||||
.env
|
||||
|
||||
# Session data (runtime state, not source)
|
||||
cortex/data/
|
||||
|
||||
# Syncthing Metadata
|
||||
.stfolder/
|
||||
|
||||
# Temporary Files
|
||||
tmp/
|
||||
*.tmp
|
||||
*.log
|
||||
|
||||
# System Files
|
||||
.DS_Store
|
||||
Reference in New Issue
Block a user