@raindrop-ai/opencode-plugin 0.0.12 → 0.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -0
- package/dist/index.cjs +522 -85
- package/dist/index.js +522 -85
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -10,6 +10,17 @@ pnpm add @raindrop-ai/opencode-plugin @opencode-ai/plugin
|
|
|
10
10
|
|
|
11
11
|
If your integration also uses the OpenCode SDK directly, install `@opencode-ai/sdk` as well.
|
|
12
12
|
|
|
13
|
+
## Payload size limits
|
|
14
|
+
|
|
15
|
+
Text fields (event input/output, span prompt/response and tool payloads) are
|
|
16
|
+
capped at **1,000,000 characters per field** and truncated with a
|
|
17
|
+
`...[truncated by raindrop]` marker. The cap is enforced before (or during)
|
|
18
|
+
serialization, so oversized payloads cost the cap — not the payload — on the
|
|
19
|
+
OpenCode host's event loop, and large events land truncated instead of being
|
|
20
|
+
rejected at the ingest size limit. Hook error logs are rate-limited to one
|
|
21
|
+
line per failure family per 30s so a persistent error can't flood the host's
|
|
22
|
+
output.
|
|
23
|
+
|
|
13
24
|
## Notes
|
|
14
25
|
|
|
15
26
|
- `@opencode-ai/plugin` is required.
|