
Security News
Lovable’s OJ Rewrites Vite’s Dev Server in Rust as AI Lowers the Cost of Forking Open Source
Lovable’s OJ rewrites Vite’s dev server in Rust, reducing memory use and preview times as AI lowers the cost of open source reimplementation.
@agentskit/doc-bridge
Advanced tools
Human↔agent documentation bridge — deterministic handoffs, doc-site links, memory→docs, optional AgentsKit RAG/chat.
npm: @agentskit/doc-bridge · CLI: ak-docs
Human↔agent documentation bridge for any project — not a wiki, not a hosted RAG chat.
doc-bridge helps coding agents find the right file, edit the right roots, run the right checks, keeps agent docs linked to human docs, and turns agent memory into project documentation (with human approval). The core is deterministic and works without any LLM or API key.
Optional intelligence (RAG + terminal chat) uses public AgentsKit packages — install only when you want them.
| Pattern | Gap |
|---|---|
| Wiki + RAG | Explains; weak on where to act and proof docs match code |
| AGENTS.md alone | Great static rules; no ownership index, gates, or human bridge |
| Context7-class tools | Library docs for the model; not your monorepo routing |
doc-bridge ships AgentHandoff JSON:
{
"type": "agent-handoff",
"startHere": "docs/for-agents/packages/example.md",
"editRoots": ["src"],
"checks": ["npm test"],
"humanDoc": "/docs/guides/example"
}
| Loop | What you get |
|---|---|
| Act | CLI + MCP handoffs (query, handoff.resolve) |
| Bridge | Fumadocs / Docusaurus / plain-markdown ↔ agent corpus + gates |
| Learn | memory ingest → classify → promote drafts (HITL) |
| Explain | Optional @agentskit/rag + @agentskit/ink chat (handoffFirst) |
npm i -D @agentskit/doc-bridge
npx ak-docs init
npx ak-docs index
npx ak-docs query package example --agent
init scaffolds config, a demo ownership target, and an AGENTS.md snippet.
npx ak-docs list packages --text
npx ak-docs ask "where do I change example?"
npx ak-docs gate run
npx ak-docs mcp
Full guide: docs/getting-started.md.
| Surface | Purpose |
|---|---|
| Index | DocBridgeIndex + contentHash + llms.txt + capabilities |
| CLI | query / search / list / ask / gate / memory / bootstrap |
| MCP | handoff.resolve, doc.search, doc.get, … |
| Gates | Freshness, human-link validation, optional OKF style |
| Plugins | pnpm-monorepo, fumadocs, docusaurus, plain-markdown |
Ownership can come from config, frontmatter (package + editRoot), or workspace discovery.
npm i -D @agentskit/rag @agentskit/ink @agentskit/adapters @agentskit/memory react
ak-docs rag ingest
ak-docs chat
ak-docs ask "how does auth work?" --chat
See docs/chat-and-rag.md.
Your repo
├── docs/for-agents/ agent corpus
├── docs/ or content/ human site (plugin)
├── AGENTS.md
└── doc-bridge.config.*
Layer 0 — Index · CLI · MCP · Gates · Memory pipeline
Layer 1 — @agentskit/rag · adapters · ink chat (opt-in)
Trust model: Layer 0 is merge-blocking truth. Layer 1 explains and drafts; humans and gates decide.
Designed for and dogfooded on open AgentsKit surfaces:
| Profile | Example |
|---|---|
| Solo markdown | examples/minimal-plain-markdown.config.ts |
| pnpm monorepo | examples/pnpm-monorepo.config.ts |
| Fumadocs + chat | examples/fumadocs-with-chat.config.ts |
| Docusaurus + memory | examples/docusaurus-with-memory.config.ts |
Contract: docs/spec/config-v1.md · CLI: docs/spec/cli.md · MCP: docs/mcp.md
v0.1.0-alpha.1 — Layer 0 complete for daily use; Layer 1 RAG/chat wired via optional peers; not yet a guarantee of semver stability.
pnpm install && pnpm build && pnpm test
docs/POSITIONING.mdMIT
FAQs
Human↔agent documentation bridge — deterministic handoffs, doc-site links, memory→docs, optional AgentsKit RAG/chat.
The npm package @agentskit/doc-bridge receives a total of 1,951 weekly downloads. As such, @agentskit/doc-bridge popularity was classified as popular.
We found that @agentskit/doc-bridge 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.

Security News
Lovable’s OJ rewrites Vite’s dev server in Rust, reducing memory use and preview times as AI lowers the cost of open source reimplementation.

Security News
It has been one year since Shai-Hulud made its first appearance on npm.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.