npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@ottimis/jack-gemini

v0.2.0

Published

Gemini provider for Jack — speaks ACP (Agent Client Protocol) over stdio JSON-RPC. Implements the @ottimis/jack-provider-sdk contract; consumed by the Jack host or any other tool that drives the SDK.

Readme

@ottimis/jack-gemini

Gemini provider for Jack — talks to the Google gemini CLI over the Agent Client Protocol (ACP) via stdio JSON-RPC.

Drop-in plugin: implements the @ottimis/jack-provider-sdk contract and exports a JackProvider object. The Jack host (or any other tool that drives the SDK) registers it and gets a working Gemini integration.

Install

pnpm add @ottimis/jack-gemini @ottimis/jack-provider-sdk @ottimis/jack-chat-core

@google/gemini-cli must be available on the user's PATH — the provider's detect() probes for it and surfaces an install hint when missing.

Use

import { geminiProvider } from '@ottimis/jack-gemini'
import { registerProvider } from '@ottimis/jack-provider-sdk' // host-side registry

registerProvider(geminiProvider)

That's it — geminiProvider is the same shape as Claude / Codex providers in Jack.

What this package owns

  • ACP backend (acpBackend.ts) — JSON-RPC pump over gemini --acp stdio, full session lifecycle (initializeauthenticatesession/newsession/prompt), translator from ACP session/update notifications to NormalizedMessage[], permission bridge (session/request_permission ↔ host canUseTool), client-tool handler routing (fs/* / terminal/* / tools/*).
  • Capability matrix — honest declaration of what ACP exposes today (planMode, mcp, structuredPatch, resumeSession, liveModelSwitch, livePermissionModeSwitch, callback-grain permissions; no askUserQuestion, no subagents, no liveEffortSwitch).
  • Tool catalog — Gemini's native tool surface mapped to the canonical ToolShape set.
  • Slash commands — static catalog from gemini-cli plus a wire-side bus for available_commands_update notifications.
  • Sessions on disk — list / fork over ~/.gemini/tmp/<project_slug>/chats/*.jsonl.
  • Usage — best-effort per-session token counts pulled from _meta.quota on session/prompt responses; account-level surface deferred until the CLI pipes daily quotas.

Build

pnpm install
pnpm typecheck
pnpm build

Dual ESM (dist/) + CJS (dist/cjs/) output with declaration files.

Versioning

  • Minor bumps follow additive SDK changes (new optional capability fields, new wire kinds the translator now decodes).
  • Major bumps follow @ottimis/jack-provider-sdk major bumps, or breaking changes in gemini-cli's ACP wire that force the translator to drop the older shape.