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

@agentrux/n8n-plugin

v0.2.0

Published

n8n community node for AgenTrux — A2A authenticated ephemeral data pipe service

Downloads

75

Readme

n8n-nodes-agentrux

n8n community node for AgenTrux — A2A authenticated ephemeral data pipe service.

Installation

cd plugins/n8n
npm install
npm run build

Option A: npm link (開発向け)

cd plugins/n8n && npm link
cd ~/.n8n && mkdir -p custom && cd custom && npm init -y && npm link n8n-nodes-agentrux

Option B: Symlink

mkdir -p ~/.n8n/custom
ln -s "$(pwd)" ~/.n8n/custom/n8n-nodes-agentrux

Option C: Docker

services:
  n8n:
    image: n8nio/n8n
    volumes:
      - ./plugins/n8n:/home/node/custom-nodes/n8n-nodes-agentrux
    environment:
      - N8N_CUSTOM_EXTENSIONS=/home/node/custom-nodes/n8n-nodes-agentrux

n8n を再起動するとノードパネルに表示されます。

Quick Start

1. Credential 作成(Activation Token モード)

| Field | Value | |-------|-------| | Base URL | https://your-agentrux-server.example.com | | Auth Mode | Activation Token (Initial Setup) | | Activation Token | atk_...(コンソールで発行したトークン) |

「Test Credential」で接続確認 → Save

2. ノードを1回実行

AgenTrux ノードをキャンバスに配置して実行すると、自動的に activate されます。 出力の1件目に script_idsecret が含まれます:

{
  "_setup": "AUTO_ACTIVATED",
  "script_id": "abc-123-...",
  "secret": "xxxxxxxxxxxxxxxx",
  "grants": [...]
}

3. Credential を切り替え(1回だけ)

| Field | Value | |-------|-------| | Auth Mode | Script Credentials | | Script ID | 出力の script_id | | Secret | 出力の secret | | Grant Token | gtk_...(任意、初回自動 redeem) |

以降はこの設定で動作し続けます。

Nodes

AgenTrux(Action Node)

Resource: Topic

| Operation | Description | |-----------|-------------| | Publish Event | イベントを topic に publish(correlation_id, reply_topic, payload_ref 対応) | | Read Events | カーソルページネーションでイベント一覧取得 | | Get Event | 単一イベントを ID で取得 | | Upload Payload | バイナリデータを presigned URL 経由でアップロード | | Download Payload | バイナリデータを presigned URL 経由でダウンロード |

Resource: Auth

| Operation | Description | |-----------|-------------| | Redeem Grant Token | gtk_... トークンを消費してクロスアカウントアクセスを取得 |

AgenTrux Trigger

| Mode | Description | |------|-------------| | Polling | 定期的に GET /topics/{id}/events でカーソルベースのポーリング | | Webhook | n8n の webhook URL を AgenTrux コンソールに登録 → ヒント通知を受信 |

Webhook モードでは HMAC-SHA256 署名検証に対応しています。

Credentials

| Field | Mode | Required | Description | |-------|------|----------|-------------| | Base URL | 共通 | Yes | AgenTrux API サーバー URL | | Auth Mode | 共通 | Yes | Activation Token / Script Credentials | | Activation Token | Initial Setup | Yes | 初回 activate 用ワンタイムトークン | | Script ID | Script Credentials | Yes | スクリプト UUID | | Secret | Script Credentials | Yes | スクリプトシークレット | | Grant Token | Script Credentials | No | クロスアカウント用(初回自動 redeem) | | Webhook Secret | 共通 | No | Webhook HMAC-SHA256 署名検証用 |

Authentication Flow

Activation Token mode            Script Credentials mode
        │                                  │
        ▼                                  ▼
  POST /auth/activate             (grant token あり?)
        │                            │          │
        ▼                           Yes         No
  script_id + secret 取得            │          │
  (キャッシュ + 出力)                ▼          │
        │                   POST /auth/redeem   │
        │                   -grant (1回だけ)     │
        │                            │          │
        └────────────┬───────────────┘          │
                     ▼                          │
              POST /auth/token  ◄───────────────┘
                     │
                     ▼
               JWT キャッシュ (30s バッファ)
                     │
                     ▼
              POST /auth/refresh (期限切れ時)
                     │
                     ▼
              401 → キャッシュ破棄 → 再認証 (1回リトライ)

License

MIT