refactor(extensions): drop stale internal declarations · openclaw/openclaw@9e5ac0c
vincentkoc
·
2026-06-20
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -27,11 +27,6 @@ export type PersistedThreadBindingRecord = ThreadBindingRecord & {
|
27 | 27 | expiresAt?: number; |
28 | 28 | }; |
29 | 29 | |
30 | | -export type PersistedThreadBindingsPayload = { |
31 | | -version: 1; |
32 | | -bindings: Record<string, PersistedThreadBindingRecord>; |
33 | | -}; |
34 | | - |
35 | 30 | export type ThreadBindingManager = { |
36 | 31 | accountId: string; |
37 | 32 | getIdleTimeoutMs: () => number; |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -234,14 +234,6 @@ export class TokenManager {
|
234 | 234 | } |
235 | 235 | } |
236 | 236 | |
237 | | -/** Check whether background refresh is running. */ |
238 | | -isBackgroundRefreshRunning(appId?: string): boolean { |
239 | | -if (appId) { |
240 | | -return this.refreshControllers.has(appId); |
241 | | -} |
242 | | -return this.refreshControllers.size > 0; |
243 | | -} |
244 | | - |
245 | 237 | // ---- Internal ---- |
246 | 238 | |
247 | 239 | private async doFetchToken(appId: string, clientSecret: string): Promise<string> { |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -132,11 +132,6 @@ export class SlashCommandRegistry {
|
132 | 132 | })); |
133 | 133 | } |
134 | 134 | |
135 | | -/** Return all pre-dispatch commands. */ |
136 | | -getPreDispatchCommands(): Map<string, SlashCommand> { |
137 | | -return this.commands; |
138 | | -} |
139 | | - |
140 | 135 | /** Return all registered commands (both maps) for help listing. */ |
141 | 136 | getAllCommands(): Map<string, SlashCommand> { |
142 | 137 | const all = new Map<string, SlashCommand>(); |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -13,8 +13,6 @@
|
13 | 13 | import type { OpenClawConfig } from "openclaw/plugin-sdk/core"; |
14 | 14 | import { getRuntimeConfig } from "openclaw/plugin-sdk/runtime-config-snapshot"; |
15 | 15 | |
16 | | -export type GatewayCfg = OpenClawConfig; |
17 | | - |
18 | 16 | export type GatewayCfgLoader = () => OpenClawConfig; |
19 | 17 | |
20 | 18 | export interface ActiveCfgProvider { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。