Skip to main content

imbue-mngr-opencode-usage

OpenCode data provider for mngr usage. It installs an in-process plugin into each OpenCode agent so every assistant message records usage. The mngr usage CLI reads and aggregates that data (see imbue-mngr-usage).

What gets captured

OpenCode computes cost and tokens per message. Each message records:

  • cost.total_cost_usd -- OpenCode's own per-message cost (provenance REPORTED; no estimation needed).
  • tokens -- {input, output, cache_read, cache_creation} (reasoning folded into output), for auditability.
  • model -- the provider-qualified <providerID>/<modelID>.
  • session_id + message_id -- the reader sums per session, keeping the freshest event per message so a streaming message's re-fires collapse to its final reading.

cost_mode is API_KEY: OpenCode bills against a real provider key, so the cost is real spend, never an imputed subscription value.

Metadata

Release files for imbue-mngr-opencode-usage 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for imbue-mngr-opencode-usage 0.2.1
File Interpreter ABI Platform Actions
imbue_mngr_opencode_usage-0.2.1-py3-none-any.whl Python 3 none any Details for imbue_mngr_opencode_usage-0.2.1-py3-none-any.whl

Release files / imbue_mngr_opencode_usage-0.2.1-py3-none-any.whl

Download URL imbue_mngr_opencode_usage-0.2.1-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
36082c08f52b1e3be5dbd96e43795cb8c79cc820c1638b81d35d4b386427f617
BLAKE2b-256 checksum
How to use checksums
e46ef72e41ba21431895fe6a907190d0c0786473d855fe89ab4f554a790299c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.

Transparency log

Security for imbue-mngr-opencode-usage 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

1 file in this release has been uploaded with provenance metadata.

Attestation for imbue_mngr_opencode_usage-0.2.1-py3-none-any.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page