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

@connector_oss/connector

v0.2.0

Published

Tamper-proof memory, chain-of-custody, and OS-grade runtime for AI agents — native Rust bindings via NAPI-RS with HTTP fallback

Readme

@connector-oss/connector — TypeScript SDK

Tamper-proof memory, chain-of-custody, and OS-grade runtime for AI agents. Native Rust via NAPI-RS — ~35 async methods. Falls back to HTTP if native addon is unavailable.

Install

npm install @connector-oss/connector

Prebuilt native binaries for:

  • Linux x86_64 (glibc + musl) / aarch64 (glibc + musl)
  • macOS x86_64 / Apple Silicon (aarch64)
  • Windows x86_64

If no prebuilt binary is available, the SDK falls back to HTTP REST calls automatically.

Quick Start

import { Connector, isNativeAvailable } from '@connector-oss/connector'

console.log('Native Rust:', isNativeAvailable()) // true if .node addon loaded

const c = new Connector({
  llm: 'deepseek:deepseek-chat',
  apiKey: process.env.DEEPSEEK_API_KEY
})

console.log(c.isNative) // true = calls Rust directly, no server needed

From YAML Config

const c = Connector.fromConfig('connector.yaml')

Memory & Knowledge

// Write tamper-proof memory (CID-addressed)
await c.remember('pid:bot', 'Patient has fever', 'nurse')

// Search memory
const mems = await c.memories('ns:er')

// Knowledge graph
await c.knowledgeIngest('ns:er')

Sessions & Search

const sess = await c.sessionCreate('pid:bot', 'ns:er', 'ER Visit')
await c.sessionClose('pid:bot', sess.session_id)

const results = await c.search({ namespace: 'ns:er', limit: 10 })

Custom Folders (OS mkdir model)

await c.folderCreate('agent:nurse/notes', 'agent', 'nurse', 'Patient notes')
await c.folderPut('agent:nurse/notes', 'p123', { bp: '140/90' })
const val = await c.folderGet('agent:nurse/notes', 'p123')

Connector Protocol (CP/1.0)

const info = await c.protocolInfo()           // 7-layer summary
const caps = await c.protocolCapabilities()   // 120 capabilities × 12 categories
await c.protocolIdentityRegister('robot-1', 'machine')
await c.protocolEstop('operator', 'safety violation', 'global')

Pipeline

const pipe = c.pipeline('support')
  .agent('triage', 'Classify tickets')
  .agent('resolver', 'Find answers')
  .route('triage -> resolver')
  .hipaa()

const result = await pipe.run('My account is locked', { user: 'bob' })

What Makes This Different

| | LangChain.js | Vercel AI | @connector-oss/connector | |-|-------------|-----------|------------------------------| | Tamper-proof memory | ❌ | ❌ | ✅ CID-addressed, kernel-verified | | Audit trail | ❌ | ❌ | ✅ Ed25519-signed, append-only | | HIPAA/SOC2/GDPR | ❌ | ❌ | ✅ Built-in compliance | | Trust scoring | ❌ | ❌ | ✅ Per-response, 0-100 | | Native Rust performance | ❌ | ❌ | ✅ NAPI-RS, zero JS overhead | | Protocol (A2A/MCP/ACP) | Partial | ❌ | ✅ All three + CP/1.0 |

Links

License

Apache-2.0