Skip to content

fix: OpenClaw agent setup snags: install hang, All servers keys, agent wizard - #8315

Open
mfbx9da4 wants to merge 16 commits into
mainfrom
claude/cli-command-hang-908026
Open

mfbx9da4 wants to merge 16 commits into
mainfrom
claude/cli-command-hang-908026

Conversation

@mfbx9da4

@mfbx9da4 mfbx9da4 commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

DNO-1462

Why

Setting up an OpenClaw agent hit a run of snags. Our plugin started its hooks process inside short-lived OpenClaw CLI commands (2026.7.1 and similar), so the install hung. Agents also missed servers added later, and the wizard had rough edges.

What changed

Before

  • openclaw plugins install hung after installing our plugin.
  • The script always asked for a Gateway restart and to store SPEAKEASY_AGENT_KEY.
  • An "All servers" key stored the servers that existed when it was issued.
  • Ticking a remote server grew its row.
  • Editing an agent's MCP Authentication step showed per-client blocks; saving assigned no connection.
  • Manual OpenClaw setup was a long subshell.

After

  • The plugin starts its hooks process on the first hook. hooksGeneratorVersion is bumped to republish it.
  • Restart and key notes appear only when needed.
  • An "All servers" key stores the project wildcard plus the owner's blocks.
  • list_servers explains "unknown" and points to connection_status.
  • Rows keep their height.
  • Editing shows the same row as creating, and saving assigns your connection.
  • Manual setup is one openclaw mcp add, with the key read from the environment.

Gutternote review steps

  1. Identity → Agents → New agent identity. Tick a remote server: its row keeps its height.
  2. Open an existing agent → Edit → MCP Authentication: same row as when creating.
  3. Install → Manual: the OpenClaw block is one command.

@mfbx9da4 mfbx9da4 added the bug Something isn't working label Oct 30, 2026
@mfbx9da4
mfbx9da4 requested a review from a team as a code owner October 30, 2026 13:11
@linear-code

linear-code Bot commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

DNO-1462

@changeset-bot

changeset-bot Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: ce8e4c2

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
dashboard Patch
server Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 5 files

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread server/internal/plugins/generate.go Resolved
@mfbx9da4
mfbx9da4 requested a review from a team as a code owner October 30, 2026 14:50

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 6 files (changes from recent commits).

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 2 files (changes from recent commits).

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

@mfbx9da4 mfbx9da4 changed the title fix: stop OpenClaw CLI commands hanging after the Speakeasy plugin is installed fix: OpenClaw agent setup snags: install hang, restart and key notes, agent wizard Oct 30, 2026

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 6 files (changes from recent commits).

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 4 files (changes from recent commits).

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

@mfbx9da4 mfbx9da4 changed the title fix: OpenClaw agent setup snags: install hang, restart and key notes, agent wizard fix: OpenClaw agent setup snags: install hang, All servers keys, agent wizard Oct 30, 2026

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 7 files (changes from recent commits).

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread server/internal/mcp/serve_meta.go Resolved

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant