OpenClawDashboard/.gitignore
Manohar Gupta 8fe6694a21 fix(infra): rebrand, workspace path, model config, chat SSE streaming
- Rebrand Tarzan → Tiger in layout metadata and header
- Bridge: point WORKSPACE_SYMLINK at the docker volume path post-migration
  (/var/lib/docker/volumes/tiger_tiger-workspace/_data) — the old
  /root/tiger-workspace symlink was orphaned after the April standalone
  migration, causing workspace endpoint to return empty.
- Bridge: read agents.defaults.model.primary for model info + expose all
  configured availableModels so the dashboard card can show them.
- Dashboard: page.tsx renders currentModel/fallbackModels/availableModels.
- Chat streaming fix (client side):
  * proper SSE buffering across TCP chunks (split on \n\n, keep tail in
    buffer, {stream: true} decoder for multi-byte UTF-8)
  * separate status vs chunk handlers — status no longer pollutes content
  * fall back to data.content in done event if streamingRef is empty
  * visible parse errors instead of silent catch
  * plain-text rendering while streaming, ReactMarkdown only after done —
    avoids per-token markdown reparse which was killing the typing feel

Root causes:
  1. tiger-bridge crash-looped for 36h on EADDRINUSE because a manual
     nohup restart squatted on port 3456; systemd's tsx version couldn't
     bind. Killing the squatter restored the expected tsx-src workflow.
  2. ChunkLoadError on /chat: npm run build ran under a live next start
     prod server, creating an in-memory manifest vs on-disk build split.
     Fixed by disciplined build-then-restart.
  3. Dashboard chat silently dropped responses: SSE 'status' event text
     was being concatenated into the agent message content.
2026-04-18 19:10:47 +00:00

55 lines
747 B
Text

# Dependencies
node_modules/
# Environment variables
.env
.env.local
.env.*.local
# OS files
.DS_Store
Thumbs.db
# Next.js
dashboard/.next/
dashboard/out/
# Build output
build/
dist/
# Python
__pycache__/
*.pyc
venv/
# IDE
.vscode/
.idea/
# Logs
*.log
npm-debug.log*
# Local Config
config/*.json
!config/*.example.json
config/mcporter.json
config/cron.json
# ─── Added by housecleaning Apr 2026 ───
# Claude Code session worktrees (local workspace artifacts)
.claude/
# Runtime SQLite databases — schema is in db.ts, not data/
data/
*.db
*.db-shm
*.db-wal
# Backup files from patching sessions
*.bak
*.bak.*
# Compiled bridge (regenerable from src/)
bridge/dist/
# macOS artifacts that can slip in via Mutagen
.DS_Store
._*