langfuse / langfuse/opencode-observability-plugin

Opencode v2 compatibility

Open
#39 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
29
Forks
18
Avg merge
5h 26m
Merged PRs (30d)
8

Description

OpenCode v2 introduces a new plugin API, and v1 plugin implementations do not run in v2 without migration.

The plugin currently:

  • Depends on @opencode-ai/plugin ^1.18.19
  • Uses the v1 plugin configuration and experimental.openTelemetry setting, the latter of which is unsupported in v2

We should look into migrating the plugin to v2.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the plugin implementation and its package dependency configuration, then compare the current v1 plugin API and experimental.openTelemetry usage with the OpenCode v2 API. Done means the plugin uses the v2 configuration and API, no longer relies on the unsupported setting, and works under OpenCode v2.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
observability
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.