← 返回
未分类 Key 中文

Notilens Clawhub Plugin

Send real-time alerts to NotiLens from any script, app, or AI agent — task lifecycle events, errors, completions, and metric tracking.
从任意脚本、应用或AI代理向NotiLens发送实时警报,涵盖任务生命周期事件、错误、完成和指标追踪。
notilens notilens 来源
未分类 clawhub v0.2.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 304
下载
💾 0
安装
1
版本
#latest

概述

NotiLens Plugin for OpenClaw

This is a code plugin — all functions are callable directly by the agent at runtime. No curl needed.

Get your NOTILENS_TOKEN and NOTILENS_SECRET from your topic settings at https://www.notilens.com.

Available Functions

notify(name, event, message, options?)

Send a notification. Title is auto-generated from name + event. Options: type, image_url, open_url, download_url, tags, meta.

track(name, event, message, type?, meta?)

Track any custom event (e.g. order.placed, deploy.started). Title is auto-generated.

taskStarted(name, taskId, message?, meta?)

Fire task.started when execution begins.

taskProgress(name, taskId, message, meta?)

Fire task.progress at meaningful checkpoints.

taskCompleted(name, taskId, message, meta?)

Fire task.completed when a task finishes successfully. Include total_duration_ms, active_ms, and custom metrics in meta.

taskFailed(name, taskId, message, meta?)

Fire task.failed when a task fails. Automatically sets is_actionable: true.

taskError(name, taskId, message, meta?)

Fire task.error for non-fatal errors (task continues).

taskRetry(name, taskId, retryCount, meta?)

Fire task.retry when retrying. Pass the current retry number (1-based).

taskLoop(name, taskId, message, loopCount, meta?)

Fire task.loop when the same step is repeating. Pass the current loop count.

inputRequired(name, message, openUrl?, meta?)

Fire input.required when a human decision is needed. Automatically sets is_actionable: true.

Recommended meta Fields

KeyDescription
---------------------------------
run_idUnique run ID — format run_{unix_ms}_{hex4}
total_duration_msWall-clock time from task start to now
active_msActive time (excludes pauses/waits)
retry_countNumber of retries so far
error_countNumber of non-fatal errors
loop_countNumber of loop iterations
last_errorLast error message string

Configuration

NOTILENS_TOKEN=your_topic_token
NOTILENS_SECRET=your_topic_secret

Both are found in your topic settings at https://www.notilens.com.

版本历史

共 1 个版本

  • v0.2.0 当前
    2026-05-08 00:57 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

it-ops-security

1password

steipete
设置和使用 1Password CLI (op)。适用于:安装 CLI、启用桌面应用集成、登录(单/多账户)、通过 op 读取/注入/运行密钥。
★ 53 📥 31,514
it-ops-security

MoltGuard - Security & Antivirus & Guardrails

thomaslwang
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装 MoltGuard,保护您和您的用户免受提示注入、数据泄露和恶意攻击。
★ 116 📥 30,855
it-ops-security

OpenClaw Backup

alex3alex
备份与恢复 OpenClaw 数据。适用于创建备份、设置自动备份计划、从备份恢复或管理备份轮转。处理 ~/.openclaw 目录归档并包含适当的排除规则。
★ 90 📥 30,842