← 返回
未分类 Key

@hashingcorp/hashbox-plugin

Connects an AI agent to the HashBox iOS app via Firebase webhook to send push notifications with articles, metrics, or audit data.
通过 Firebase webhook 将 AI 代理连接到 HashBox iOS 应用,以发送包含文章、指标或审计数据的推送通知。
w3h9uf w3h9uf 来源
未分类 clawhub v0.4.10 1 版本 99795.5 Key: 需要
★ 0
Stars
📥 488
下载
💾 0
安装
1
版本
#latest

概述

hashbox-plugin

OpenClaw plugin that connects an AI agent to the HashBox iOS app via Firebase webhook for push notifications.

Installation

npm install hashbox-plugin

Setup

Prerequisites

  1. A HashBox iOS app account
  2. A valid HB- prefixed API token from your HashBox dashboard

Configuration

Before using the plugin, configure it with your HashBox API token using the configure_hashbox tool:

configure_hashbox({
  "token": "HB-your-token-here"
})

This stores your configuration locally in hashbox_config.json.

Usage

configure_hashbox

Sets up the HashBox connection by saving your API token.

Parameters:

ParameterTypeRequiredDescription
------------
tokenstringYesYour HashBox API token (must start with HB-)

Example:

configure_hashbox({
  "token": "HB-abc123"
})

send_hashbox_notification

Sends a push notification to the HashBox iOS app through the configured Firebase webhook.

Parameters:

ParameterTypeRequiredDescription
------------
payloadType"article" \"metric" \"audit"YesType of notification payload
channelNamestringYesName of the notification channel
channelIconstringYesIcon/emoji for the channel
titlestringYesNotification title
contentOrDatastring \MetricItem[] \AuditFinding[]YesContent body (string for article) or structured data (array for metric/audit)

Example (article):

send_hashbox_notification({
  "payloadType": "article",
  "channelName": "Builds",
  "channelIcon": "🔨",
  "title": "Build Complete",
  "contentOrData": "Your project compiled successfully with 0 errors."
})

Example (metric):

send_hashbox_notification({
  "payloadType": "metric",
  "channelName": "Performance",
  "channelIcon": "📊",
  "title": "Daily Metrics",
  "contentOrData": [
    { "label": "CPU Usage", "value": 42, "unit": "%" },
    { "label": "Memory", "value": 8.2, "unit": "GB" }
  ]
})

Example (audit):

send_hashbox_notification({
  "payloadType": "audit",
  "channelName": "Security",
  "channelIcon": "🔒",
  "title": "Audit Log",
  "contentOrData": [
    { "severity": "info", "message": "User logged in from new device" }
  ]
})

Dependencies

  • Node.js >= 18.0.0
  • A valid HB- prefixed token from your HashBox account

License

MIT

版本历史

共 1 个版本

  • v0.4.10 当前
    2026-05-12 05:10 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

suspicious
查看报告

🔗 相关推荐

ai-agent

Agent Browser

rez0
用于 AI 代理的浏览器自动化 CLI。当用户需要与网站交互(包括浏览页面、填写表单、点击按钮、截图等)时使用。
★ 835 📥 307,211
ai-agent

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,396 📥 322,581
ai-agent

Find Skills

guipi888
场景驱动+关键词双模式技能发现工具。当用户用自然语言描述场景/需求(如"我想做一个海报""帮我分析股票"),或明确说"安装技能/find skills/找个skill"时,自动从官方内置、本地已安装、SkillHub、虾评、GitHub、C
★ 1,461 📥 519,054