refactor: trim extension helper shims · openclaw/openclaw@1564922
steipete
·
2026-05-01
·
via Recent Commits to openclaw:main
File tree
memory-core/src/memory/test-helpers
qqbot/src/engine/approval
| Original file line number | Diff line number | Diff line change |
|---|
@@ -5,7 +5,6 @@ export {
|
5 | 5 | projectCredentialSnapshotFields, |
6 | 6 | resolveConfiguredFromCredentialStatuses, |
7 | 7 | } from "openclaw/plugin-sdk/channel-status"; |
8 | | -export { createScopedChannelConfigAdapter } from "openclaw/plugin-sdk/channel-config-helpers"; |
9 | 8 | export type { ChannelPlugin } from "openclaw/plugin-sdk/channel-core"; |
10 | 9 | export type { OpenClawConfig } from "openclaw/plugin-sdk/config-types"; |
11 | 10 | |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -79,6 +79,5 @@ export const THREAD_BINDINGS_VERSION = 1 as const;
|
79 | 79 | export const THREAD_BINDINGS_SWEEP_INTERVAL_MS = 120_000; |
80 | 80 | export const DEFAULT_THREAD_BINDING_IDLE_TIMEOUT_MS = 24 * 60 * 60 * 1000; // 24h |
81 | 81 | export const DEFAULT_THREAD_BINDING_MAX_AGE_MS = 0; // disabled |
82 | | -export const DEFAULT_FAREWELL_TEXT = "Thread unfocused. Messages here will no longer be routed."; |
83 | 82 | export const DISCORD_UNKNOWN_CHANNEL_ERROR_CODE = 10_003; |
84 | 83 | export const RECENT_UNBOUND_WEBHOOK_ECHO_WINDOW_MS = 30_000; |
| Original file line number | Diff line number | Diff line change |
|---|
@@ -498,8 +498,6 @@ export async function runFeishuLogin(params: {
|
498 | 498 | // Exported wizard |
499 | 499 | // --------------------------------------------------------------------------- |
500 | 500 | |
501 | | -export { feishuSetupAdapter } from "./setup-core.js"; |
502 | | - |
503 | 501 | export const feishuSetupWizard: ChannelSetupWizard = { |
504 | 502 | channel, |
505 | 503 | resolveAccountIdForConfigure: ({ accountOverride, defaultAccountId, cfg }) => |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -91,8 +91,6 @@ const googlechatDmPolicy: ChannelSetupDmPolicy = {
|
91 | 91 | promptAllowFrom, |
92 | 92 | }; |
93 | 93 | |
94 | | -export { googlechatSetupAdapter } from "./setup-core.js"; |
95 | | - |
96 | 94 | function createServiceAccountTextInput(params: { |
97 | 95 | inputKey: GoogleChatTextInputKey; |
98 | 96 | message: string; |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -647,5 +647,3 @@ export async function monitorIMessageProvider(opts: MonitorIMessageOpts = {}): P
|
647 | 647 | await activeClient.stop(); |
648 | 648 | } |
649 | 649 | } |
650 | | - |
651 | | -export const resolveIMessageRuntimeGroupPolicy = resolveOpenProviderRuntimeGroupPolicy; |
| Original file line number | Diff line number | Diff line change |
|---|
@@ -81,8 +81,6 @@ const lineDmPolicy: ChannelSetupDmPolicy = {
|
81 | 81 | }), |
82 | 82 | }; |
83 | 83 | |
84 | | -export { lineSetupAdapter } from "./setup-core.js"; |
85 | | - |
86 | 84 | export const lineSetupWizard: ChannelSetupWizard = { |
87 | 85 | channel, |
88 | 86 | status: createStandardChannelSetupStatus({ |
|
| Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | export { createAccountStatusSink } from "openclaw/plugin-sdk/channel-lifecycle"; |
2 | 2 | export type { ChannelPlugin } from "openclaw/plugin-sdk/core"; |
3 | 3 | export { DEFAULT_ACCOUNT_ID } from "openclaw/plugin-sdk/core"; |
4 | | -export { |
5 | | -resolveAllowlistProviderRuntimeGroupPolicy, |
6 | | -resolveDefaultGroupPolicy, |
7 | | -} from "openclaw/plugin-sdk/runtime-group-policy"; |
8 | 4 | export { chunkTextForOutbound } from "openclaw/plugin-sdk/text-chunking"; |
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。