Skip to content

merge origin/main into ori-me and keep sdk compat updates#2

Closed
819557056 wants to merge 1 commit intoImGoodBai:mainfrom
819557056:ori-me
Closed

merge origin/main into ori-me and keep sdk compat updates#2
819557056 wants to merge 1 commit intoImGoodBai:mainfrom
819557056:ori-me

Conversation

@819557056
Copy link
Copy Markdown

openclawv2026.3.14,安装成功不能正常启动
这次改的是 SDK 版本不兼容导致的初始化崩溃。
具体是你报的这个:
TypeError: buildChannelConfigSchema is not a function

根因是插件还在用旧路径 openclaw/plugin-sdk/core 拿 buildChannelConfigSchema,而你当前 OpenClaw 版本里这个导出在 openclaw/plugin-sdk,导致启动时函数是 undefined。
我在 index.ts 做了两件事:

  • 改为从新路径取 SDK 导出。
  • 加了兜底:即使运行时没有 buildChannelConfigSchema,也不会再炸,自动走 fallback schema。

另外把项目里同类 core 导入也统一迁移到 openclaw/plugin-sdk,防止后续再出现同类 API 不匹配。

@819557056 819557056 closed this Mar 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants