Plugin event types #1902

Open
opened 2026-02-16 17:33:08 -05:00 by yindo · 5 comments
Owner

Originally created by @JoshuaRileyDev on GitHub (Oct 1, 2025).

Originally assigned to: @jayair on GitHub.

Is there any full documentation anywhere listing all of the different event types for using with plugins?

When I looked at the documentation it only showed a few event types not all of them

Originally created by @JoshuaRileyDev on GitHub (Oct 1, 2025). Originally assigned to: @jayair on GitHub. Is there any full documentation anywhere listing all of the different event types for using with plugins? When I looked at the documentation it only showed a few event types not all of them
Author
Owner

@rekram1-node commented on GitHub (Oct 1, 2025):

There needs to be docs for this definitely, rn I can refer you to the docs: https://github.com/sst/opencode/blob/dev/packages/plugin/src/index.ts

@rekram1-node commented on GitHub (Oct 1, 2025): There needs to be docs for this definitely, rn I can refer you to the docs: https://github.com/sst/opencode/blob/dev/packages/plugin/src/index.ts
Author
Owner

@JoshuaRileyDev commented on GitHub (Oct 1, 2025):

Great thanks, happy to contribute to update the docs

@JoshuaRileyDev commented on GitHub (Oct 1, 2025): Great thanks, happy to contribute to update the docs
Author
Owner

@rekram1-node commented on GitHub (Oct 1, 2025):

I feel like ideally we can "sync" the docs so they are always in step with the actual code via some script or by importing the types and showing them somehow

@rekram1-node commented on GitHub (Oct 1, 2025): I feel like ideally we can "sync" the docs so they are always in step with the actual code via some script or by importing the types and showing them somehow
Author
Owner

@JoshuaRileyDev commented on GitHub (Oct 1, 2025):

Or maybe just using Opencode to look at the codebase and write some docs that can then be checked by a human, could be much faster?

@JoshuaRileyDev commented on GitHub (Oct 1, 2025): Or maybe just using Opencode to look at the codebase and write some docs that can then be checked by a human, could be much faster?
Author
Owner

@rekram1-node commented on GitHub (Oct 1, 2025):

i mean it would be faster in short term, ideally it'd be done in deterministic fashion

@rekram1-node commented on GitHub (Oct 1, 2025): i mean it would be faster in short term, ideally it'd be done in deterministic fashion
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1902