Commit Graph

3 Commits

Author SHA1 Message Date
Thomas Friedel 5bbc1fcdf9 feat(pipe): add SETTING_SOURCES valve to opt into CLAUDE.md loading
The SDK pipe hardcoded setting_sources=[], so chats never loaded
~/.claude/CLAUDE.md or any settings.json. Expose it as a valve
(default empty = isolated baseline) so single-user/homelab instances
can opt into persistent context, while shared deployments keep the
safe default.

Parse via _parse_setting_sources(): comma-split, lowercase, drop
unknown tokens so a typo can't silently widen inheritance. README
documents the opt-in plus the hooks/permissions security tradeoff
(CLAUDE.md and settings.json load together — a Claude Code coupling)
and why the valve does not apply to the sandboxed pipe.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-01 21:32:10 +02:00
Thomas Friedel a4898f6d9a Disable fast path — always run full agent loop 2026-04-18 15:19:57 +02:00
Thomas Friedel 1544ec1944 Initial commit: Claude Code pipe for Open WebUI 2026-04-18 14:55:03 +02:00