mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-04 19:27:42 +00:00
Avoid replaying prior OpenAI Responses reasoning/message/function-call item ids when the outgoing request disables store, while preserving encrypted reasoning and normalized summary arrays for stateless replay. Keep explicit store-enabled OpenAI wrapper paths opted into item-id replay, and cover shared/simple Responses, ChatGPT/Codex Responses, and GitHub Copilot sanitizer behavior. Regression tests cover store-disabled id omission, encrypted reasoning preservation, idless Copilot reasoning replay, and direct builder payloads. Local proof included focused Vitest, broad lint, broad test-types, bundled-extension lint, plugin boundary checks, autoreview clean, and live OpenAI Responses gpt-5.5 proof. Co-authored-by: hang <zhanghang02@gmail.com>
59 lines
1.9 KiB
TypeScript
59 lines
1.9 KiB
TypeScript
// Private runtime barrel for the bundled Feishu extension.
|
|
// Keep this barrel thin and generic-only.
|
|
|
|
export type {
|
|
AllowlistMatch,
|
|
AnyAgentTool,
|
|
BaseProbeResult,
|
|
ChannelGroupContext,
|
|
ChannelMessageActionName,
|
|
ChannelMeta,
|
|
ChannelOutboundAdapter,
|
|
ChannelPlugin,
|
|
HistoryEntry,
|
|
OpenClawConfig,
|
|
OpenClawPluginApi,
|
|
OutboundIdentity,
|
|
PluginRuntime,
|
|
ReplyPayload,
|
|
} from "openclaw/plugin-sdk/core";
|
|
export type { OpenClawConfig as ClawdbotConfig } from "openclaw/plugin-sdk/core";
|
|
export type RuntimeEnv = {
|
|
log: (...args: unknown[]) => void;
|
|
error: (...args: unknown[]) => void;
|
|
exit: (code: number) => void;
|
|
};
|
|
export type { GroupToolPolicyConfig } from "openclaw/plugin-sdk/config-contracts";
|
|
export {
|
|
DEFAULT_ACCOUNT_ID,
|
|
buildChannelConfigSchema,
|
|
createActionGate,
|
|
createDedupeCache,
|
|
} from "openclaw/plugin-sdk/core";
|
|
export {
|
|
PAIRING_APPROVED_MESSAGE,
|
|
buildProbeChannelStatusSummary,
|
|
createDefaultChannelRuntimeState,
|
|
} from "openclaw/plugin-sdk/channel-status";
|
|
export { buildAgentMediaPayload } from "openclaw/plugin-sdk/agent-media-payload";
|
|
export { createChannelPairingController } from "openclaw/plugin-sdk/channel-pairing";
|
|
export { createReplyPrefixContext } from "openclaw/plugin-sdk/channel-outbound";
|
|
export {
|
|
evaluateSupplementalContextVisibility,
|
|
filterSupplementalContextItems,
|
|
resolveChannelContextVisibilityMode,
|
|
} from "openclaw/plugin-sdk/context-visibility-runtime";
|
|
export {
|
|
loadSessionStore,
|
|
resolveSessionStoreEntry,
|
|
} from "openclaw/plugin-sdk/session-store-runtime";
|
|
export { readJsonFileWithFallback } from "openclaw/plugin-sdk/json-store";
|
|
export { normalizeAgentId } from "openclaw/plugin-sdk/routing";
|
|
export { chunkTextForOutbound } from "openclaw/plugin-sdk/text-chunking";
|
|
export {
|
|
isRequestBodyLimitError,
|
|
readRequestBodyWithLimit,
|
|
requestBodyErrorToText,
|
|
} from "openclaw/plugin-sdk/webhook-ingress";
|
|
export { setFeishuRuntime } from "./src/runtime.js";
|