← 插件

Knock

PengDeng5次安装

Orchestrator-aware notifications for Paseo: stay quiet while subagents work, knock when done or stuck.

$ paseo plugin add pengdeng-cyber/knock

该插件的概览尚未翻译为你的语言,因此以英文显示。

Orchestrator-aware notifications for Paseo.

Paseo's built-in Agent finished alert treats a parent that is waiting on subagents like a finished agent, so one task can produce an alert on every dispatch. Knock treats the same-host agent subtree as the unit of completion and sends one native notification when the work is done or stuck.

What it does

  • Quiet while subagents work. Suppress a top-level notification while any descendant in the same-host subtree is initializing, running, or holding an active turn.
  • Fallback when a parent never wakes. After the subtree clears, a 10-second no-wakeup check sends one All subagents finished alert if the parent remains idle.
  • No tool-only noise. Skip top-level turns that contain tool calls but no assistant text.
  • Catches turns stuck in running. After two unchanged 30-second sweeps, flag a static final reply when an unresolved tool has run for 60 seconds, or when the turn has otherwise been idle for 180 seconds.
  • Workspace-named deep links. Use the workspace title, with the agent title as fallback, in notification headers; taps open the agent. Stuck child alerts use <workspace> · <child>.

Setup

  • In Paseo notification settings, turn off the built-in Agent finished notification.
  • Keep Agent permission, Agent error, and Plugins enabled.
  • No account, API token, or external tool is required. Use Paseo 0.18.2 or later on macOS, Linux, or Windows.

Data access, permissions, and limits

  • Knock is a server-only plugin and runs in the Paseo daemon subprocess.
  • It reads active-agent snapshots, tail timeline entries, and workspace titles locally.
  • It dispatches notifications only through Paseo's native server.notifications.send channel.
  • It makes zero outbound network requests and collects zero telemetry.
  • Subtree tracking is limited to same-host Paseo agents linked by paseo.parent-agent-id; cross-host and provider-native subagents are outside the boundary.
  • Paseo's 180-second presence and focus rules still apply, so active clients may receive a notification in-app instead of as an OS push.
  • Timing thresholds are fixed in this release; there is no settings UI.