mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-12 21:53:00 -06:00
refactor: retire due compat-ledger surfaces (context-engine host params, deactivate alias, logging internals) (#121845)
* refactor(plugins): retire deactivate hook alias
* refactor(plugin-sdk): prune retired facade exports
* test(logging): isolate logger test controls
* refactor(logging): internalize file transport controls
* test(plugin-sdk): preserve retired facade coverage
* test(auto-reply): remove stale diagnostic imports
* refactor(logging): delete dead config-read guard
shouldSkipMutatingLoggingConfigRead had no production caller even on main;
it survived the dead-export scan only via logger's testApi re-export. The
test-isolation commit removed that mask, exposing the fossil. Delete the
guard, its test-only re-export, its mock entry, and its dedicated test file.
* refactor(plugin-sdk): retire due compatibility subpaths
* test(plugin-sdk): type group policy predicates
* refactor(plugin-sdk): split removed subpath records
* refactor(secrets): remove retired collector barrel
* test(plugin-sdk): tighten wildcard surface pin
* refactor(plugin-sdk): retire matrix facade metadata
* style(plugin-sdk): format facade metadata
* fix(ci): load channel setup contracts from source
Repair the main-owned regression from 99d662473c (Peter Steinberger): the new env-contract test could consume stale ignored dist metadata instead of the checked-in plugin declaration.
* test(plugin-sdk): refresh API baseline after rebase
This commit is contained in:
committed by
GitHub
parent
49092ebab3
commit
dceb2c343c
@@ -51,8 +51,4 @@ export const BANNED_INTERNAL_PLUGIN_SDK_FACADE_MODULES: BannedInternalPluginSdkF
|
||||
modulePath: "src/plugin-sdk/inbound-envelope",
|
||||
canonical: "openclaw/plugin-sdk/channel-inbound",
|
||||
},
|
||||
{
|
||||
modulePath: "src/plugin-sdk/text-runtime",
|
||||
canonical: "the focused typed public Plugin SDK subpath for the imported helper",
|
||||
},
|
||||
];
|
||||
|
||||
@@ -64,8 +64,6 @@ export const EXTENSION_PACKAGE_BOUNDARY_BASE_PATHS = {
|
||||
"openclaw/plugin-sdk/channel-secret-basic-runtime": [
|
||||
"../dist/plugin-sdk/channel-secret-basic-runtime.d.ts",
|
||||
],
|
||||
"openclaw/plugin-sdk/channel-secret-runtime": ["../dist/plugin-sdk/channel-secret-runtime.d.ts"],
|
||||
"openclaw/plugin-sdk/channel-streaming": ["../dist/plugin-sdk/channel-streaming.d.ts"],
|
||||
"openclaw/plugin-sdk/error-runtime": ["../dist/plugin-sdk/error-runtime.d.ts"],
|
||||
"openclaw/plugin-sdk/secret-ref-runtime": ["../dist/plugin-sdk/secret-ref-runtime.d.ts"],
|
||||
"openclaw/plugin-sdk/ssrf-runtime": ["../dist/plugin-sdk/ssrf-runtime.d.ts"],
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
[
|
||||
"channel-lifecycle",
|
||||
"infra-runtime",
|
||||
"text-runtime"
|
||||
"infra-runtime"
|
||||
]
|
||||
|
||||
@@ -1,21 +1,13 @@
|
||||
[
|
||||
"agent-media-payload",
|
||||
"agent-config-primitives",
|
||||
"channel-lifecycle",
|
||||
"channel-logging",
|
||||
"channel-message",
|
||||
"channel-reply-pipeline",
|
||||
"channel-secret-runtime",
|
||||
"channel-streaming",
|
||||
"command-auth",
|
||||
"config-runtime",
|
||||
"discord",
|
||||
"group-access",
|
||||
"inbound-reply-dispatch",
|
||||
"infra-runtime",
|
||||
"matrix",
|
||||
"messaging-targets",
|
||||
"telegram-account",
|
||||
"text-runtime",
|
||||
"zod"
|
||||
"telegram-account"
|
||||
]
|
||||
|
||||
@@ -111,11 +111,7 @@ export const deprecatedBarrelPluginSdkEntrypoints = pluginSdkSubpaths.filter((en
|
||||
);
|
||||
|
||||
/** Supported SDK facades backed by bundled plugins until generic contracts replace them. */
|
||||
export const supportedBundledFacadeSdkEntrypoints = [
|
||||
"discord",
|
||||
"matrix",
|
||||
"telegram-account",
|
||||
] as const;
|
||||
export const supportedBundledFacadeSdkEntrypoints = ["discord", "telegram-account"] as const;
|
||||
|
||||
/** Plugin-owned surfaces intentionally public and documented for third-party plugins. */
|
||||
export const publicPluginOwnedSdkEntrypoints = ["memory-core-host-engine-foundation"] as const;
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
"setup",
|
||||
"setup-runtime",
|
||||
"channel-setup",
|
||||
"channel-streaming",
|
||||
"channel-streaming-config",
|
||||
"setup-tools",
|
||||
"archive",
|
||||
@@ -90,7 +89,6 @@
|
||||
"conversation-runtime",
|
||||
"thread-bindings-runtime",
|
||||
"thread-bindings-session-runtime",
|
||||
"text-runtime",
|
||||
"text-chunking",
|
||||
"agent-scope-runtime",
|
||||
"agent-runtime",
|
||||
@@ -101,7 +99,6 @@
|
||||
"plugin-command-runtime",
|
||||
"plugin-runtime",
|
||||
"channel-secret-basic-runtime",
|
||||
"channel-secret-runtime",
|
||||
"channel-secret-tts-runtime",
|
||||
"secret-ref-runtime",
|
||||
"secret-file-runtime",
|
||||
@@ -158,7 +155,6 @@
|
||||
"account-id",
|
||||
"account-resolution",
|
||||
"account-resolution-runtime",
|
||||
"agent-config-primitives",
|
||||
"access-groups",
|
||||
"allow-from",
|
||||
"allowlist-config-edit",
|
||||
@@ -177,7 +173,6 @@
|
||||
"collection-runtime",
|
||||
"direct-dm-guard-policy",
|
||||
"discord",
|
||||
"matrix",
|
||||
"device-bootstrap",
|
||||
"diagnostic-runtime",
|
||||
"error-runtime",
|
||||
@@ -196,7 +191,6 @@
|
||||
"channel-feedback",
|
||||
"channel-inbound",
|
||||
"channel-inbound-debounce",
|
||||
"channel-logging",
|
||||
"channel-mention-gating",
|
||||
"channel-lifecycle",
|
||||
"channel-ingress-runtime",
|
||||
@@ -228,7 +222,6 @@
|
||||
"ssrf-dispatcher",
|
||||
"string-coerce-runtime",
|
||||
"group-activation",
|
||||
"group-access",
|
||||
"global-singleton",
|
||||
"directory-config-runtime",
|
||||
"directory-runtime",
|
||||
@@ -332,7 +325,6 @@
|
||||
"webhook-targets",
|
||||
"webhook-request-guards",
|
||||
"web-media",
|
||||
"zod",
|
||||
"agent-core",
|
||||
"agent-sessions",
|
||||
"llm"
|
||||
|
||||
Reference in New Issue
Block a user