Skip to content

SDK: installed client lacks plugin.awaitActivation #80

Description

@kitlangton

Drive 2.0.1 cannot type-check a program that calls opencode.plugin.awaitActivation({}) against OpenCode v2 revision ac874a6e90. The current OpenCode client exposes that operation, but the client bundled with Drive only exposes plugin list, check, and update.

Reproduction: run an OpenCodeDriver.use program whose callback calls yield* opencode.plugin.awaitActivation({}). opencode-drive run fails with TS2339: Property awaitActivation does not exist before launching the server. Expected: the bundled SDK supports the current plugin readiness API.

For the plugin failure-notification demo, polling opencode.plugin.list({}) for the failed state works around the missing method without bypassing type checking.

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