JSPM

  • Created
  • Published
  • Downloads 1010
  • Score
    100M100P100Q115721F
  • License MIT

AI Agent runtime for Minion - manages status and skill deployment on VPS

Package Exports

  • @geekbeer/minion
  • @geekbeer/minion/server.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@geekbeer/minion) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@geekbeer/minion

AI Agent runtime for Minion - manages heartbeat, status, and skill deployment on VPS.

Install

npm install -g @geekbeer/minion

Usage

Setup (VPS)

minion-cli setup \
  --hq-url https://minion-agent.com \
  --minion-id <MINION_ID> \
  --api-token <API_TOKEN> \
  --setup-tunnel \
  --non-interactive

Service Management

minion-cli start      # Start the minion agent
minion-cli stop       # Stop the minion agent
minion-cli restart    # Restart the minion agent
minion-cli status     # Show service status
minion-cli health     # Run health check

Logging

minion-cli log -m "Task completed" -l info -s skill-name

npm公開手順

初回セットアップ

  1. npmにログイン:

    npm login
  2. geekbeer organizationがnpmに存在することを確認(なければ作成):

    npm org create geekbeer

    または https://www.npmjs.com/org/create から作成。

パッケージ公開

cd packages/minion

# 含まれるファイルを事前確認
npm pack --dry-run

# 公開
npm publish --access public

publishConfig.access: "public"package.json に設定済みのため、--access public は省略可能。

バージョンアップ & 再公開

cd packages/minion

# バージョンを上げる(patch: 1.0.0 → 1.0.1)
npm version patch

# または minor: 1.0.0 → 1.1.0
npm version minor

# または major: 1.0.0 → 2.0.0
npm version major

# 公開
npm publish

公開確認

npm view @geekbeer/minion

Environment Variables

Variable Description Default
HQ_URL Minion HQ server URL -
API_TOKEN Authentication token -
MINION_ID Minion UUID -
AGENT_PORT Agent API listen port 3001
HEARTBEAT_INTERVAL Heartbeat interval (ms) 30000

License

MIT