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

@medicine-wheel/perception-layer

v0.4.13

Published

Eyes & ears of agent-supported film production — witness a belt-device recording as typed perceptual events and seed a production knowledge graph

Readme

@medicine-wheel/perception-layer

Witness film-production source material as typed relational events.

This package is the eyes and ears layer for agent-supported Indigenous film production. It turns transcript or device-stream material into PerceptualEvents, records who witnessed the material, and seeds an additive production graph in @medicine-wheel/ontology-core.

Why it exists

Episode 066 introduced the belt-device / eyes-and-ears metaphor. Episode 067 and the Nicolas Renaud conversation clarified the relational frame: film is not just content capture, it is knowledge emerging through relationship. This package makes that frame executable without changing core ontology unions.

Production entities ride on existing knowledge nodes with metadata.kind; edges use the additive ProductionRelation subtype.

Install

npm install @medicine-wheel/perception-layer

API

import {
  registerParticipant,
  ingestTranscript,
  buildProductionGraph,
} from '@medicine-wheel/perception-layer';

const mia = registerParticipant('Mia', 'witness', ['🧠', 'Mia']);
const events = ingestTranscript(transcript, {
  source: '/path/to/episode-066-transcript.txt',
  participant: mia,
});

const graph = buildProductionGraph(events, {
  participant: mia,
  recordingName: 'Episode 066 belt recording',
});

Main concepts

  • PerceptualEvent: one witnessed segment with a sense (ear or eye) and an event type.
  • AgentParticipant: the human or agent recorded as witness, observer, or storyteller.
  • ProductionGraphSeed: recording node, segment nodes, collaborator nodes, and ProductionRelation edges.
  • observedBy: records relationship in-band; the agent witnesses rather than extracts.

Event types

  • transcript-segment
  • director-intent
  • ambient-sound
  • shot-composition
  • relational-moment

Verification

The real vertical slice is covered by:

cd /workspace/repos/jgwill/medicine-wheel
npm run build:packages
npm test -- --run tests/film-production-vertical-slice.test.ts

That test uses the real Episode 066 transcript and proves:

  1. transcript → perceptual events,
  2. events → production graph,
  3. production graph remains additive over ontology-core,
  4. the Jerry and Nicolas/Renaud relationship threads stay legible.

Related issues

  • #85 — Episode 068 vertical slice
  • #86 — perception layer package
  • #84 — Episode 068 plan-review audio steering context