mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-27 04:47:03 -06:00
refactor(channels): unify inbound replay protection (#109117)
* refactor(channels): unify inbound replay-guard orchestration on shared factory * fix(plugin-sdk): bind replay-guard settlement to claim handles * fix(plugin-sdk): claim-handle settlement (rest) * fix(discord): align skipped queue cleanup * style(feishu): simplify bot menu claim settlement * refactor(plugin-sdk): extract replay dedupe contracts
This commit is contained in:
committed by
GitHub
parent
eb107c105b
commit
c46cc1e2d4
@@ -241,7 +241,8 @@ export function readPluginSdkSurfaceBudgets(env = process.env) {
|
||||
// +2: generic channel retry runner and Retry-After parser.
|
||||
// +1: shared speech-provider API key resolver.
|
||||
// +32: shared channel setup, config-schema, policy, and status helpers.
|
||||
7984,
|
||||
// +2: shared channel replay-guard factory and claim handle.
|
||||
7986,
|
||||
env,
|
||||
),
|
||||
publicFunctionExports: readPluginSdkSurfaceBudgetEnv(
|
||||
@@ -261,7 +262,8 @@ export function readPluginSdkSurfaceBudgets(env = process.env) {
|
||||
// +2: generic channel retry runner and Retry-After parser.
|
||||
// +1: shared speech-provider API key resolver.
|
||||
// +24: shared channel setup, config-schema, policy, and status helpers.
|
||||
4464,
|
||||
// +1: shared channel replay-guard factory.
|
||||
4465,
|
||||
env,
|
||||
),
|
||||
publicDeprecatedExports: readPluginSdkSurfaceBudgetEnv(
|
||||
|
||||
Reference in New Issue
Block a user