deepseek-harness/packages/webhook/README.zh.md

12 lines
943 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# webhook/ — 从已验证外部事件到 DSH Session
[English](README.md) | 中文
Webhook 系列接收通过身份验证的提供方事件,运行受信任的程序化规则,并可选择在 Web Workspace 中创建普通根 Session。分发仅存在于进程内并采用 fire-and-forget:本系列不拥有交付数据库、队列、重试、去重或 Agent 完成状态。
| 包 | 角色 | ctx key |
|---|---|---|
| [`webhook/`](webhook/README.zh.md) | 规则注册表、回调生命周期与基于 Workspace 的 Session 创建 | `ctx.webhookRuntime` |
| [`webhook-github/`](webhook-github/README.zh.md) | 签名 GitHub HTTP 适配器 | 消费 `ctx.webhookRuntime` 与 `ctx.webServer` |
提供方适配器负责验证身份并规范化交付。规则拥有任意条件和外部调用,随后返回 `null` 或一个 Session 请求。[Webhook 子系统参考](../../docs/subsystems/webhook.zh.md)拥有共享类型与时序保证。