mirror of
https://gitee.com/zhangsken/opencode.git
synced 2026-10-16 10:30:01 +08:00
7 lines
388 B
Markdown
7 lines
388 B
Markdown
# Plugin Package Guide
|
|
|
|
- The plugin package has two versions: Effect and Promise.
|
|
- In the Effect version, every domain must extend the corresponding Effect API client interface from `@opencode/client/effect/api`.
|
|
- Do not redefine functions that already exist on the Effect API client interface.
|
|
- Plugin domains add only the additional functions that make sense in the plugin context.
|