@pinta-ai/pinta-opencode 0.12.3-rc.3 → 0.12.3-rc.5
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 +2 -0
- package/dist/index.mjs +334 -8546
- package/dist/plugin.js +25 -58
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# pinta-opencode — OTLP forwarder + guard for opencode
|
|
2
2
|
|
|
3
|
+
Masking is done by the Pinta manager. If you point the OTLP endpoint somewhere else without the manager, the original text is sent as-is.
|
|
4
|
+
|
|
3
5
|
Converts **opencode** session/tool events into OTLP/HTTP spans and forwards them to any OpenTelemetry-compatible collector, with an optional external **guard** that can allow/deny tool calls and surface a human-readable reason. Vendor-neutral. No Pinta CLI dependency. Identity is attached at the relay layer.
|
|
4
6
|
|
|
5
7
|
Unlike the Claude Code / Codex / Copilot adapters (which spawn a process per hook and talk over stdin/stdout), opencode loads plugins **in-process**. pinta-opencode is therefore a **single importable plugin module** — installed via `opencode.json` or a plugins-dir drop-in, no opencode source changes.
|