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

@conscience-technology/nora-sdk

v0.0.1

Published

Nora platform client. Agents are built in Nora (MCP/CLI/UI); here you call them, look inside them, and feed results back.

Readme

nora-sdk

Nora platform client. Agents are built in Nora (MCP/CLI/UI), and here you call them, look inside them, and feed results back. It never edits definitions: that path is MCP/CLI/UI → approve → version, one human gate.

Server-side only. It carries a server credential (a PAT or a trigger secret), so it throws if initialized in a browser — proxy any end-user-facing execution through your own server.

Install

npm install @conscience-technology/nora-sdk

Two credentials

| Credential | Used for | Scope | |---|---|---| | trigger secret (per flow) | flows.run, signals.report on traces it created | that one flow | | PAT nora_pat_… + scopes | resolve, improvements.*, simulations.* | the workspace |

PAT scopes: read (resolve / improvements list) · content (memory/knowledge writes) · simulate (billed) · approve (ships changes). A read token cannot approve.

Use

import { createClient, NoraAuthError } from "@conscience-technology/nora-sdk";

const nora = createClient({
  tenant: "t_...",
  token: process.env.NORA_PAT,          // management
  triggerSecret: process.env.NORA_TRIGGER_SECRET, // execution
});

// Run a flow (trigger secret). A failed run still returns traceId + partial output.
const r = await nora.flows.run("support", "my ticket text");
console.log(r.traceId, r.status, r.outputs, r.notices);

// Look inside: the effective definition (PAT read scope).
const def = await nora.resolve("support");

// Feedback on the answer itself (👍/👎 + optional correction).
await nora.feedback(r.traceId, { rating: "dislike", comment: "wrong coverage", correction: { after: "..." } });
// Feed the app's real business outcome back into the loop (separate from the rating above).
await nora.signals.report(r.traceId, { outcome: "resolved", reason: "user confirmed" });

// Embed the loop: an improvement is a concrete before→after fix the loop proposed
// for a failure cluster (with a measured delta) — NOT the cluster list. Show the
// proposal queue in your admin page and approve there (approve scope).
const queue = await nora.improvements.list();
try {
  await nora.improvements.approve("imp_123");   // adopt → deploys a new version
} catch (e) {
  if (e instanceof NoraAuthError) console.error("need the approve scope:", e.code);
}

Errors

Every failure is a typed NoraError subclass with a stable .code, .traceId, and server-decided .retryable:

NoraError
├─ NoraAuthError      auth / scope / subject
├─ NoraRequestError   flow / input / scope missing
├─ NoraAccessError    memory / knowledge access rule
├─ NoraProviderError  upstream LLM provider
└─ NoraPlatformError  availability / rate limit / internal

Transport and request failures throw. Execution-result outcomes (turn cap, tool failure, needs-review) come back on RunResult with traceId + partial outputs, never as a throw — so you can still read what the run produced.

Logging

Structured and redacted by default (no tokens, secrets, claims, or bodies). Inject your logger and observe internals:

createClient({ tenant, token, logger: pino(), onLog: (e) => metrics.count(e.event) });