Skip to content

SDK compatibility error: stringEnum not a function in OpenClaw 2026.4.2 #525

@liptoxli

Description

@liptoxli

Plugin: memory-lancedb-pro@1.0.32 and 1.1.0-beta.9
OpenClaw: 2026.4.2 (d74a122)

Error:

TypeError: (0 , _pluginSdk.stringEnum) is not a function

Details:

  • Plugin imports from openclaw/plugin-sdk/compat and uses stringEnum
  • This function doesn't exist or has a different signature in OpenClaw 2026.4.2
  • Error occurs during plugin initialization, preventing agent_end hook from registering
  • Both stable (1.0.32) and beta (1.1.0-beta.9) affected
  • Plugin tools all fail with stringEnum error
  • SDK migration guide: https://docs.openclaw.ai/plugins/sdk-migration

Affected features:

  • autoCapture (agent_end hook not registered)
  • All plugin tools fail

Environment:

  • macOS Darwin 25.5.0 (arm64)
  • OpenClaw 2026.4.2
  • Node.js v22.22.2

Metadata

Metadata

Assignees

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