Skip to content

openclaw plugin 报错 #1

@ishow520

Description

@ishow520

ROBOT_ID=sm-xiaosai MODEL_BASE_URL=http://127.0.0.1:19001/v1 MODEL_API_KEY=ba99ad031ab5572e80d06b87a1c67120e6eea71d7f9ee6cb bash scripts/install-local-native.sh
Installing plugin from local source: /Users/daniel/Desktop/daniel/ai/openclaw-worktool

🦞 OpenClaw 2026.4.11 (769908e) — I'm not saying your workflow is chaotic... I'm just bringing a linter and a helmet.

(node:59426) [OPENCLAW_PLUGIN_SDK_COMPAT_DEPRECATED] Warning: openclaw/plugin-sdk/compat is deprecated for new plugins. Migrate to focused openclaw/plugin-sdk/ imports. See https://docs.openclaw.ai/plugins/sdk-migration
Bundled plugins must use scoped plugin-sdk subpaths. External plugins may keep compat temporarily while migrating. Migration guide: https://docs.openclaw.ai/plugins/sdk-migration
(Use node --trace-warnings ... to show where the warning was created)
Plugin manifest id "worktool" differs from npm package name "openclaw-worktool"; using manifest id as the config key.
WARNING: Plugin "worktool" contains dangerous code patterns: Environment variable access combined with network send — possible credential harvesting (/Users/daniel/Desktop/daniel/ai/openclaw-worktool/src/monitor.js:111); Environment variable access combined with network send — possible credential harvesting (/Users/daniel/Desktop/daniel/ai/openclaw-worktool/src/monitor.ts:123); Shell command execution detected (child_process) (/Users/daniel/Desktop/daniel/ai/openclaw-worktool/scripts/release.mjs:18); Shell command execution detected (child_process) (/Users/daniel/Desktop/daniel/ai/openclaw-worktool/scripts/verify-pack.mjs:29)
Plugin "worktool" installation blocked: dangerous code patterns detected: Environment variable access combined with network send — possible credential harvesting (/Users/daniel/Desktop/daniel/ai/openclaw-worktool/src/monitor.js:111); Environment variable access combined with network send — possible credential harvesting (/Users/daniel/Desktop/daniel/ai/openclaw-worktool/src/monitor.ts:123); Shell command execution detected (child_process) (/Users/daniel/Desktop/daniel/ai/openclaw-worktool/scripts/release.mjs:18); Shell command execution detected (child_process) (/Users/daniel/Desktop/daniel/ai/openclaw-worktool/scripts/verify-pack.mjs:29)
Also not a valid hook pack: Error: package.json missing openclaw.hooks

貌似不支持最新的版本

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions