docs(plugin): fix Effect system part example (#48492)

Co-authored-by: nexxeln <95541290+nexxeln@users.noreply.github.com>
This commit is contained in:
opencode-agent[bot]
2026-09-11 18:12:11 +05:30
committed by GitHub
Unverified
parent 4e97b78d98
commit e0deffa083
@@ -1099,7 +1099,7 @@ effect: (ctx) =>
const session = ctx.session
yield* session.hook("context", (event) =>
Effect.sync(() => {
event.system.push({ text: "Keep the review focused on correctness." })
event.system.push({ type: "text", text: "Keep the review focused on correctness." })
delete event.tools.write
}),
)