Skip to content

fix: harden OpenClaw gateway and runtime integration#91

Merged
Mr-Lucky merged 2 commits into
mainfrom
fix/openclaw-gateway-cli-fallback
May 26, 2026
Merged

fix: harden OpenClaw gateway and runtime integration#91
Mr-Lucky merged 2 commits into
mainfrom
fix/openclaw-gateway-cli-fallback

Conversation

@Mr-Lucky
Copy link
Copy Markdown
Contributor

Summary

  • Harden OpenClaw runtime handling by normalizing require_approve decisions and blocking approval-required OpenClaw tool calls instead of relying on the plugin approval channel.
  • Improve OpenClaw plugin installation so templates refresh by default, include startup/hook activation metadata, and can load AgentGuard after global npm installs via a package-root fallback.
  • Make OpenClaw Gateway cron setup more resilient by preferring CLI Gateway calls when available, falling back to direct RPC, supporting protocol v3-v4 WebSocket negotiation, and signing connect handshakes with saved device identity when possible.
  • Fix protected path matching so shell/file access to ~/ patterns also matches absolute home paths.
  • Bump package/changelog to 1.1.18.

Testing

  • npm run build
  • npm test

Result: 293 tests passed.

Type

  • Bug fix
  • New feature / detection rule
  • Refactoring
  • Documentation

Testing

  • npm run build passes
  • npm test passes (32 tests)
  • Manually tested the change

Related Issues

Closes #

web3-jeff added 2 commits May 26, 2026 21:22
…cli-fallback

# Conflicts:
#	CHANGELOG.md
#	package-lock.json
#	package.json
#	src/feed/cron.ts
#	src/tests/feed-cron.test.ts
#	src/tests/integration.test.ts
@Mr-Lucky Mr-Lucky merged commit 9d736c9 into main May 26, 2026
3 of 4 checks passed
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