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

@truenorth-ai/cli

v1.0.0

Published

TrueNorth CLI for dynamically discovering and calling TrueNorth agent tools.

Readme

TrueNorth CLI

A small CLI for discovering and calling TrueNorth agent tools. Tool names and schemas are loaded from the API at runtime; the CLI does not maintain tool-specific commands.

Installation

npm i -g @truenorth-ai/cli

Requires Node.js 18 or newer.

Commands

The CLI exposes exactly three commands:

# Discover tool names and descriptions
tn tools

# Include runtime input/output schemas
tn tools --schema
tn tools --json --schema

# Filter or select tools
tn tools --filter market
tn tools --names basic_market_info,technical_analysis --json --schema

# Call any discovered tool with dynamic arguments
tn call basic_market_info --token-address bitcoin
tn call technical_analysis --token-address bitcoin --timeframe 1h --json
tn call resolve_asset --query BTC --result

# Structured arguments can be supplied in a JSON file
tn call financial_company_facts -f arguments.json --json

# Execute multiple independent calls in one HTTP request
tn batch '[{"tool":"basic_market_info","args":{"token_address":"bitcoin"}},{"tool":"financial_company_facts","args":{"ticker":"AAPL"}}]' --json
tn batch -f calls.json --json

The arguments.json file in the example above contains one tool argument object:

{
  "ticker": "AAPL"
}

Dynamic arguments support --key value, --key=value, and key=value. Kebab-case keys are converted to snake_case, and JSON values are decoded:

# Number arguments
tn call performance_scanner \
  --universe-size 5 \
  --top-n 3 \
  --lookback-days 7 \
  --json

# Array arguments
tn call market_ticker24h \
  --instruments '["bitcoin","ethereum"]' \
  --json

# Strings and arrays together
tn call time_context \
  --timezone Asia/Shanghai \
  --compare-timezones '["UTC","America/New_York"]' \
  --json

tn call --json emits the full {toolName, result, durationMs, isError} envelope. tn call --result emits only the tool's result value.

The batch input is a JSON array of {tool, args} objects. The CLI translates these to the API wire format and posts them to /batch in one request.

For example, calls.json can contain:

[
  {
    "tool": "basic_market_info",
    "args": {
      "token_address": "bitcoin"
    }
  },
  {
    "tool": "technical_analysis",
    "args": {
      "token_address": "ethereum",
      "timeframe": "4h"
    }
  }
]

These examples use tools verified against the live API. The current tn tools --json --schema response remains the source of truth because tools and schemas are discovered dynamically.

Configuration

The default API base URL is:

https://tn-api.truenorth.xyz/api/agent-tools

Override it with TN_BASE_URL or place a baseUrl value in ~/.truenorth/config.json.

When upgrading from a pre-1.0 release, a persisted value matching the previous default (https://api.adventai.io/api/agent-tools) automatically resolves to the new default. Custom local or staging URLs are preserved.

Development

npm install
npm run build
npm test

License

MIT