Commit Graph

4 Commits

Author SHA1 Message Date
cra88y d736cb304d fix: ensure plugin stays active by returning True in init and update README 2026-01-10 19:17:45 -06:00
cra88y bf04b62577 feat: implement RAG context awareness and non-blocking streaming 2026-01-10 18:25:34 -06:00
cra88y/pc 531128e828 refactor(gemini_flash): implement CSP-compliant single-file architecture
- Replace inline script injection with dynamic asset route /gemini.js to satisfy script-src 'self' CSP policies.

- Implement server-side parameter injection via URL params (	oken, q) to eliminate XSS vectors from data-* attributes.

- Secure JS injection using json.dumps for proper serialization.

- Integrate markupsafe.Markup to prevent Jinja2 template auto-escaping of the result injection.

- Reduce log verbosity in the streaming loop while maintaining visibility for critical hooks.

- Remove external dependencies, relying solely on standard lib and host environment packages.
2026-01-10 18:13:12 -06:00
cra88y/pc f849763c4a initial commit: gemini streaming plugin for searxng 2026-01-10 17:04:51 -06:00