环境
- OpenClaw 5.3 (2026.5.3)
- @memtensor/memos-local-openclaw-plugin v1.0.10
- Windows 10 x64 / Node.js v24.14.1
现象
插件基础功能正常:memory_search、memory_get 可用,auto-recall 工作。
但这些工具不可用:
- memory_write_public
- memory_share / memory_unshare
- task_share / task_unshare
- skill_publish / skill_unpublish
OpenClaw 日志反复警告:
installed plugin package requires compiled runtime output for TypeScript entry index.ts
排查
- openclaw.plugin.json 里 contracts.tools 声明了 20 个工具
- 插件目录有 index.ts (114KB),但没有编译产物
- npm run build 执行 tsc 失败——缺少 tsconfig.json
- package.json 的 "main": "index.ts" 指向 TS 源文件
建议
- 加 tsconfig.json,让 npm run build 正常工作
- npm 发布时包含预编译的 dist/ 目录
- 或在 openclaw.plugin.json 声明所需运行时
搜索和 auto-recall 做得很好,希望能补上写工具这一块 🙏
环境
现象
插件基础功能正常:memory_search、memory_get 可用,auto-recall 工作。
但这些工具不可用:
OpenClaw 日志反复警告:
排查
建议
搜索和 auto-recall 做得很好,希望能补上写工具这一块 🙏