
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
Real-time code feedback for pi — LSP, linters, formatters, type-checking, structural analysis & booboo
pi-lens focuses on real-time inline code feedback for AI agents.
On every write and edit, pi-lens runs a fast, language-aware pipeline (checks depend on file language, project config, and installed tools):
ts-lsp, pyright)At session_start, pi-lens:
For one-shot print sessions (for example pi --print ...), pi-lens auto-uses a quick startup path that skips heavy bootstrap work to reduce startup latency. You can override startup behavior with PI_LENS_STARTUP_MODE=full|minimal|quick.
At turn_end, pi-lens:
Inline output is intentionally concise and actionable.
/lens-booboo/lens-healthpi install npm:pi-lens
Or from git:
pi install git:github.com/apmantza/pi-lens
# Standard mode
pi
# Optional safety: disable unified LSP and use fallbacks
pi --no-lsp
/lens-booboo — full quality report for current project state/lens-health — runtime health, latency, and diagnostic telemetryRegistered dispatch runners:
lsp, ts-lsp, pyrightbiome-check-json, biome-lint, ruff-lint, eslint, oxlinttree-sitter, ast-grep-napi, type-safety, similarityarchitect, python-slop, shellcheck, spellcheckyamllint, sqlfluffgo-vet, golangci-lint, rust-clippy, rubocopSome runners are language/config-gated and may skip when not applicable.
ast-grep-napi runs in post-write dispatch for JS/TS with blocker-focused filtering; /lens-booboo additionally runs full CLI ast-grep scans.
Auto-install behavior depends on gate type:
| Tool | Purpose | Auto-installed | Gate |
|---|---|---|---|
@biomejs/biome | JS/TS lint/format/autofix | Yes | Config-gated (biome.json/biome.jsonc or @biomejs/biome dep) |
prettier | Formatting fallback | Yes | Config-gated (Prettier dep or package.json#prettier) |
yamllint | YAML linting | Yes | Config-gated (.yamllint* / tool section / dep hint) |
sqlfluff | SQL linting/formatting | Yes | Config-gated (.sqlfluff / tool section / dep hint) |
ruff | Python lint/format/autofix | Yes | Language-default + flow-gated (Python detected; respects --no-autofix-ruff) |
typescript-language-server | Unified LSP diagnostics | Yes | Language-default + flow-gated (JS/TS detected and LSP enabled) |
pyright | Python type diagnostics fallback | Yes | Flow/language-gated (Python fallback paths) |
@ast-grep/cli (sg) | AST scans/search/replace | Yes | Operational prewarm + analysis flows |
knip | Dead code analysis | Yes | Operational prewarm + turn-end flows (JS/TS language + config gated at startup) |
jscpd | Duplicate code detection | Yes | Operational prewarm + turn-end flows (JS/TS language + config gated at startup) |
madge | Circular dependency analysis | Yes | Turn-end analysis flow |
LSP is enabled by default. pi-lens includes many language-server definitions (including up to 31+ servers), and activates them when the server is installed and the project/root detection matches the file.
Optional safety switch:
--no-lsp disables unified LSP dispatch and falls back to language-specific checks where available (for example ts-lsp, pyright).--lens-guard (experimental) blocks git commit/git push attempts when unresolved pi-lens blockers are pending.FAQs
Real-time code feedback for pi — LSP, linters, formatters, type-checking, structural analysis & booboo
The npm package pi-lens receives a total of 1,421 weekly downloads. As such, pi-lens popularity was classified as popular.
We found that pi-lens demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.