relay-dsh-plugin-monitors
其他 活跃维护

relay-dsh-plugin-monitors

yangbobo2021/relay-dsh-plugin-monitors

为Relay框架提供持久化监控与定时器支持,自动跟踪任务运行状态,按计划触发回调。插件轻量易集成,无需改动核心逻辑,即可为工作流增加可靠的定时与监控能力。

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
JavaScript
主要语言
MIT
开源协议
230 KB
仓库大小
2 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:yangbobo2021/relay-dsh-plugin-monitors
git clone https://github.com/yangbobo2021/relay-dsh-plugin-monitors.git
git clone git@github.com:yangbobo2021/relay-dsh-plugin-monitors.git
README.md main

Relay Monitors for DeepSeek Harness

Stable 0.3.2 is verified on official DSH 0.1.5-rc.2
and 0.1.6-alpha.1.
No implementation adaptation was required; its peer
metadata declares both exact releases. Install Monitor extensions separately.

Release channels: latest → 0.3.2; next → 0.3.3-rc.1.

npx @deepseek-ai/dsh@0.1.6-alpha.1 plugin --profile web add relay-dsh-plugin-events@next relay-dsh-plugin-monitors@next
npx @deepseek-ai/dsh@0.1.6-alpha.1 web

DSH compatibility

English | 中文

relay-dsh-plugin-monitors adds extensible durable bound Monitor execution to
relay-dsh-plugin-events. Core includes the live Bundle Type catalog, trusted
Observer/Detector registration, generic deterministic transition detectors, leased
checks, and lifecycle recovery. Time and relay_schedule_timer now live in the
independent relay-dsh-plugin-monitor-time extension.

The development source additionally exposes a live, localized Monitor Bundle Type
catalog through the public relayMonitorBundles service and the Session-bound
relay_list_monitor_bundle_types Agent tool. The catalog lists capabilities that
extensions have actually registered; it is not a static support claim. An Agent can
instantiate an available entry with relay_create_monitor_from_type; Session
ownership is derived from the root Agent, and success follows baseline plus atomic
Wait/Monitor commit. When no registered type fits, the Agent can validate and install
an expiring Session- or project-scoped custom Bundle. Custom code runs in QuickJS
WASM with no ambient host authority and can make only schema-checked reads through
explicitly granted Capability Providers. Updates and rollbacks preserve immutable
version history. Core alone intentionally reports an empty plugin Bundle Type catalog.

The older internal npm channel remains available for integration testing and
does not carry this compatibility guarantee. Use the exact 0.2.1
versions in the latest-DSH command above; do not substitute @internal.

dsh plugin --profile web add --save-exact \
  relay-dsh-plugin-events@internal \
  relay-dsh-plugin-monitors@internal
dsh web

Arbitrary shell/network/browser access, mutation providers, environment values, host
credentials, and raw process PIDs are rejected. Custom Bundle artifacts are copied to
Relay-owned content-addressed storage, integrity-checked on every read, and collected
after expiry only when no live Monitor or other receipt references them.

Build this repository with DSH_ROOT pointing to a prepared official DSH checkout:
npm ci --ignore-scripts && npm run verify && npm pack. Install the resulting
tarballs together. The npm package includes built lib/; raw GitHub source does
not. Observer calls are bounded to at most 30 seconds and receive an abort signal
on timeout or unload; cancellation releases the lease without counting as a
business observation failure.

See SPEC.md and delivery scenarios.
Tested official DSH references: 0.1.1-rc.2 at
b150a551b8d465e31e418e1b2eaf5e79bbb7d28e, 0.1.2-alpha.2 at
0a53fb55bea101816fa226bb964ae2bed71c343b, and 0.1.2-alpha.3 at dd6322d604e00eec1ba5e0c8541159906a21094a.