Skip to content

0.2.0

Choose a tag to compare

@fredoliveira fredoliveira released this 13 Jun 16:32
· 6 commits to main since this release
5067ffc

OpenAI-compatible providers, applying a lens to a selection, and two new lenses.

  • Model providers: point Lens at any OpenAI-compatible endpoint — OpenAI, OpenRouter, Groq, DeepSeek — or a local, keyless server (Ollama, LM Studio). Anthropic still streams token-by-token; other providers return the full reply at once. Choose a provider, model, and (for hosted services) a key in Settings → Lens → Language model.
  • Apply to a selection: with text selected in a note, the lens runs on just that passage and skips linked-note context; the panel header reflects the live selection.
  • Two new default lenses: Connect (non-obvious links and cross-domain analogies) and Socratic (the sharpest open questions, left open).
  • Frontmatter is now stripped from the note and its linked context, so the model examines the idea rather than the metadata; size warnings distinguish a trimmed note from trimmed links.
  • Clearer, provider-labelled error messages.

Existing vaults migrate automatically — your Anthropic key and model are preserved.

Install (manual): download main.js, manifest.json, and styles.css into <vault>/.obsidian/plugins/lens/, then enable Lens in Settings → Community plugins. Requires Obsidian 1.11.4+. Works with Anthropic (your own API key) or any OpenAI-compatible provider, including local models with no key. Desktop only.