Skip to content

feat(plugin): expose active listener URL#37573

Draft
jerome-benoit wants to merge 1 commit into
anomalyco:devfrom
jerome-benoit:plugin-listener-url
Draft

feat(plugin): expose active listener URL#37573
jerome-benoit wants to merge 1 commit into
anomalyco:devfrom
jerome-benoit:plugin-listener-url

Conversation

@jerome-benoit

Copy link
Copy Markdown
Contributor

Issue for this PR

Coordinated with code-yeongyu/oh-my-openagent#6158.

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Expose the currently bound server listener as optional PluginInput.listenerUrl. Plugin input construction reads the live listener URL while preserving the existing serverUrl compatibility field. The plugin definitions and loader are split into focused modules so the new boundary remains testable.

How did you verify your code works?

  • bun test test/plugin/listener-url.test.ts
  • bun typecheck in packages/opencode
  • bun typecheck and bun run build in packages/plugin
  • repository pre-push bun turbo typecheck across 30 packages

Screenshots / recordings

Not applicable.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant