Commit Graph
7 Commits
Author SHA1 Message Date
Outis 0a8b19fbdb Merge pull request #2 from outis1one/claude/cleanup-setup-webui-bCgPE
Add configure-storage.sh — interactive drive/folder setup for ZIM and…
2026-03-20 15:28:14 -04:00
Claude b2946a1c24 Add configure-storage.sh — interactive drive/folder setup for ZIM and models
Scans mounted drives, shows size/free space, prompts user to assign drives
for Kiwix ZIM files and Ollama model storage, then patches docker-compose.yml
in place with a backup.

https://claude.ai/code/session_012gDnantBmFTWZGCiKyjazx
2026-03-20 19:22:24 +00:00
Outis aa415cbecf Merge pull request #1 from outis1one/claude/cleanup-setup-webui-bCgPE
Claude/cleanup setup webui b cg pe
2026-03-20 11:17:04 -04:00
Claude 8a1ac05f1e Add single self-contained local-ai-setup.sh
Merges all components into one script — no separate server files needed.
Embeds server.py (RAG) and mcp_server.py (MCP) as inline heredocs.

- Auto-detects VRAM and sets models + context window accordingly:
  6GB  → 7B models, 8k ctx
  8GB+ → 14B chat + 7B code, 16k ctx
  16GB → 14B models, 32k ctx (V100/A100 friendly)
- New install or update (detects existing compose)
- --force flag to overwrite config files
- --no-pull to skip model download prompt
- Adds fetch_url tool to MCP server
- Optional DeepSeek-R1:14b pull for reasoning tasks

https://claude.ai/code/session_012gDnantBmFTWZGCiKyjazx
2026-03-20 15:14:10 +00:00
Claude 0f6d09db12 Refactor setup: new/update detection, split Python servers, add MCP server
- laptop_full_setup.sh now handles both fresh install and updates cleanly
  (detects existing install, --force flag to overwrite config files)
- server.py: standalone RAG server with AST-aware code chunking (Python),
  pattern-split for JS/TS/Go, /ingest/repo and /webhook/gitea|github endpoints
- mcp_server.py: new MCP server (port 8002/SSE) with Claude Code-equivalent
  tools: bash, file ops, ripgrep search, git ops, Gitea API, GitHub API,
  RAG repo ingest
- docker-compose: adds mcp-server service, workspace volume, env_file for tokens
- .env preserved on update (tokens never overwritten)
- GPU: OLLAMA_NUM_GPU=999 auto-adapts to any VRAM size (no hard-coded 6GB)
- ZIM downloads remain in kiwix_download.sh (separate, large files)

https://claude.ai/code/session_012gDnantBmFTWZGCiKyjazx
2026-03-20 12:50:59 +00:00
Claude 8a1780b179 Remove obsolete update_script.sh
Prep for full rewrite with MCP server, enhanced RAG, and Claude Code parity.

https://claude.ai/code/session_012gDnantBmFTWZGCiKyjazx
2026-03-20 11:05:25 +00:00
Outis e9bee0f13d Add files via upload 2026-03-19 22:25:26 -04:00