openclaw/assets/clawdbot-ollama.desktop
Spacehunterz fa2b77230b feat(ollama): add auto-discovery with Anthropic API and security hardening
- Auto-detect Ollama without requiring API key configuration
- Switch to Anthropic Messages API for better Claude compatibility
- Add security checks to prevent network exposure (0.0.0.0 binding)
- Add desktop launcher with security validation
- Hardcode localhost-only connections (127.0.0.1:11434)

Security features:
- Launch script forces OLLAMA_HOST=127.0.0.1:11434
- Warns if Ollama is exposed to network interfaces
- Checks .bashrc/.profile for dangerous OLLAMA_HOST settings
- ollama-security.ts module for URL validation

New files:
- scripts/launch-clawdbot-ollama.sh - Secure launcher script
- scripts/install-desktop-launcher.sh - Desktop entry installer
- assets/clawdbot-ollama.desktop - Linux desktop entry
- src/agents/ollama-security.ts - Security utilities

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 14:05:12 -06:00

11 lines
350 B
Desktop File

[Desktop Entry]
Name=Clawdbot (Ollama)
Comment=AI Assistant with local Ollama models
Exec=/home/eve/Desktop/clawdbotPLUS/scripts/launch-clawdbot-ollama.sh
Icon=/home/eve/Desktop/clawdbotPLUS/assets/chrome-extension/icons/icon128.png
Terminal=true
Type=Application
Categories=Development;Utility;
Keywords=ai;chat;ollama;local;llm;
StartupNotify=true