Skip to content

feat: add @embedpdf/cli with doc search and reader commands#646

Open
peterjarian wants to merge 1 commit into
embedpdf:mainfrom
peterjarian:feature/cli
Open

feat: add @embedpdf/cli with doc search and reader commands#646
peterjarian wants to merge 1 commit into
embedpdf:mainfrom
peterjarian:feature/cli

Conversation

@peterjarian
Copy link
Copy Markdown

Motivation

Agentic coding workflows need a reliable way to search project docs without depending on web fetch tool calls. This gives agents a CLI they can call directly to find the right doc page and get answers from the codebase documentation.

Changes

Adds a new @embedpdf/cli package with two commands:

  • search-docs <query> -- semantic search over documentation via OpenAI embeddings
  • doc [path] -- read raw doc content in the terminal

Also adds the server-side /api/search endpoint that powers it, and a script to generate embeddings from the doc MDX files.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 22, 2026

Someone is attempting to deploy a commit to the OpenBook Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant