Skip to content

fix: BusClient.connect signature mismatch in bus-publisher.ts #42

Description

@four-bytes-robby

Problem

TSC build fails on src/bus-publisher.ts:13:

error TS2559: Type '3000' has no properties in common with type '{ timeoutMs?: number | undefined; onWarn?: ... }'

Root Cause

BusClient.connect() API from @four-bytes/opencode-plugin-lib changed to accept an options object { timeoutMs?: number; onWarn?: ... } instead of a positional number. Call site still passes 3000 directly.

Fix

Change BusClient.connect(3000)BusClient.connect({ timeoutMs: 3000 }) in src/bus-publisher.ts:13.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    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