Skip to content

SSH environment: notification call hangs, blocks tool execution #73

@cyberbobobobo-eng

Description

@cyberbobobobo-eng

When running OpenCode over SSH (no D-Bus session), the plugin's desktop notification call hangs for ~60 seconds before timing out. Since this runs inside the tool.execute.before hook synchronously, it blocks tool execution, causing the question prompt to appear with a long delay.

Suggested fix: before attempting to send a notification, do a quick check whether a notification daemon / D-Bus session is available. If not, skip silently instead of blocking.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions