Skip to content

[Feedback] memos-local TS source not compiled — write/share tools unavailable #1616

@17329971

Description

@17329971

环境

  • 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

排查

  1. openclaw.plugin.json 里 contracts.tools 声明了 20 个工具
  2. 插件目录有 index.ts (114KB),但没有编译产物
  3. npm run build 执行 tsc 失败——缺少 tsconfig.json
  4. package.json 的 "main": "index.ts" 指向 TS 源文件

建议

  1. 加 tsconfig.json,让 npm run build 正常工作
  2. npm 发布时包含预编译的 dist/ 目录
  3. 或在 openclaw.plugin.json 声明所需运行时

搜索和 auto-recall 做得很好,希望能补上写工具这一块 🙏

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions