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

@pharos-hq/helm-link-connector

v0.2.8

Published

Host-neutral outbound HTTPS Helm Link connector for bring-your-own OpenClaw agents.

Readme

Helm Link Connector

Host-neutral outbound HTTPS connector for attaching an explicitly selected OpenClaw agent to Helm Link.

Commands

Helm generates a private connection command pinned to an exact public package version. Never replace that version with latest, reuse an expired connection code, or paste or screenshot the command. Version 0.2.8 is the pinned public/installable release and is published only through the repository's tag-bound GitHub OIDC workflow with npm provenance.

The deterministic CI artifact has an exact SHA-256 in SHA256SUMS, but it is not the customer installation channel. Current Ubuntu VM and Node 22 container checks use a fake OpenClaw fixture and prove portability/discovery, not a real hosted round trip. Follow docs/HELM_LINK_SUPERVISED_PILOT_RUNBOOK.md for the actual-custody gate.

npx --yes '@pharos-hq/[email protected]' doctor --agent your-openclaw-agent-id

Connection codes are intentionally omitted from documentation. Generate the exact masked command in Helm and run it only on the trusted computer or server where the selected OpenClaw agent already runs.

OpenClaw is resolved from HELM_LINK_OPENCLAW_BIN, then OPENCLAW_BIN, then openclaw on PATH. The connector never edits openclaw.json, never uses --deliver, and never sends to Telegram, WhatsApp, Discord, or another channel. Advisory text is passed through a mode-0600 temporary --message-file, not through process arguments.

Inbound Helm attachments

Attachment envelopes contain identifiers, MIME/size metadata, and a SHA-256 digest—not public URLs or untrusted host paths. The connector downloads each file through an Ed25519-signed, nonce-protected Helm request, verifies its size and digest, writes it to a private temporary directory, acknowledges a durable delivery receipt, and only then exposes the local path through OpenClaw's supported MEDIA: input directive. Temporary bytes are removed after the turn. A missing or mismatched file fails the claimed dispatch before agent invocation; it is never degraded into a filename claim.

Installed macOS lifecycle

The Helm-generated macOS enrollment command ends with --install-service. After the short-lived pairing succeeds, the connector installs an exact-version private runtime under ~/.helm-link/runtime/, writes a mode-0600 LaunchAgent, and loads com.pharos.helm-link. RunAtLoad covers login/reboot and KeepAlive.SuccessfulExit=false recovers transient crashes while the packaged revocation wrapper maps terminal exit 75 to a clean stop.

For an already paired Mac, install supervision without replacing the binding, key, transcript, or local state:

npx --yes '@pharos-hq/[email protected]' install-service
npx --yes '@pharos-hq/[email protected]' service-status
npx --yes '@pharos-hq/[email protected]' uninstall-service

Supervisor templates

Ready-to-substitute templates live under supervisors/:

  • supervisors/launchd/com.helm.link.plist — macOS launchd plist that honors the terminal exit-75 revocation.
  • supervisors/systemd/helm-link.service — Linux systemd unit that sets RestartPreventExitStatus=75.
  • supervisors/container/docker-compose.yml — Docker/Compose service that uses the terminal wrapper and a bounded three-retry policy.
  • supervisors/run-supervised.sh — maps terminal revocation exit 75 to a clean supervisor stop while preserving transient error codes.

The systemd/container templates contain substitution placeholders that must be filled before installation. The macOS template is retained as an audited contract; the CLI now renders and installs the concrete LaunchAgent itself.

macOS launchd

Revocation is terminal. launchd cannot whitelist a single non-zero exit code, so the packaged plist invokes run-supervised.sh. The wrapper maps exit 75 to zero; KeepAlive.SuccessfulExit=false restarts transient failures but remains stopped after owner revocation. Never use unconditional KeepAlive=true.

Linux systemd

RestartPreventExitStatus=75 is required so the unit stops restarting after a revocation.

[Unit]
Description=Helm Link Connector
After=network-online.target

[Service]
Type=simple
User=helm-link
Environment=HELM_LINK_STATE_DIR=/var/lib/helm-link
ExecStart=/usr/bin/helm-link run
Restart=on-failure
# HFA-005: 75 == terminal revocation. Do not restart the connector
# after Helm has revoked authority for this binding.
RestartPreventExitStatus=75
RestartSec=5
NoNewPrivileges=true

[Install]
WantedBy=multi-user.target

Docker / Kubernetes

Use the packaged wrapper plus a bounded retry count. The wrapper maps exit 75 to success, so owner revocation remains stopped; transient failures retain their non-zero exit and receive at most three retries.

docker run --restart=on-failure:3 \
  -v helm-link-state:/state \
  -e HELM_LINK_STATE_DIR=/state \
  -e HELM_LINK_OPENCLAW_BIN=/usr/local/bin/openclaw \
  IMAGE_AT_IMMUTABLE_DIGEST \
  /opt/helm-link/run-supervised.sh helm-link run

The container needs access to an OpenClaw binary or sidecar arrangement that can run openclaw agents list --json and openclaw agent --agent ... --message-file ....

Revocation contract

The connector exits with code 75 on any of:

  • Helm server returns HTTP 403/410 with a revoked-binding envelope.
  • The polling loop observes a revoked sentinel in the error message.
  • The signed-request signature is rejected because the binding no longer exists.

Once exit 75 has been observed the local state.json retains a status: "revoked" marker so a subsequent helm-link status reports the terminal state without another network call. To reconnect, run helm-link disconnect and then helm-link connect --code ... --agent ... with a fresh short-lived enrollment.