Metadata-Version: 2.4
Name: cmdop-observations
Version: 0.1.0
Summary: Shared opt-in CMDOP launcher observations with bounded best-effort delivery
Project-URL: Homepage, https://cmdop.ai
License-Expression: MIT
License-File: LICENSE
License-File: THIRD_PARTY_NOTICES
Requires-Python: >=3.10
Requires-Dist: attrs==25.4.0
Requires-Dist: httpx==0.28.1
Requires-Dist: python-dateutil==2.9.0.post0
Description-Content-Type: text/markdown

# CMDOP Observations

Shared Python and JavaScript client for optional usage analytics from CMDOP launchers. CMDOP: https://cmdop.ai.

This is an optional usage-event reporting client, not the official CMDOP SDK and not a launcher installer. Official SDK packages are `@cmdop/sdk` and `cmdop`. Launchers supply an exact enrolled identity and receiver origin.

Nothing is sent on installation or import. The handwritten observation session requires explicit one-run consent, respects DNT, buffers only bounded closed event values in memory and attempts one credential-free send with a total 500 ms budget. No retry or disk queue. The caller must preserve its useful result and exit status when sharing fails. Missing observations do not mean no usage.

Node requires 20 or newer and exports `ObservationSession`, `shareObservations`, the event-report and summary operations and DTO schemas. Python requires 3.10 or newer and keeps `cmdop_promo_marketing` and `cmdop_promo_observations` imports. The generated Python package also contains protected marketing methods; their presence grants no permission and does not enable anonymous activation/account writes. Use the observation session for launcher sharing rather than constructing arbitrary event properties.

The server accepts only exact enabled package identities and enforces schema, replay, age, body, rate and daily quota limits. Client labels can be spoofed and are never proof of installations, unique people or trusted product activation. Summary access requires the backend's operator permission.

For the SDK action, a session can report caller-supplied install, import and example-file outcomes.
It projects only closed stage/result values; project paths, changes and diagnostics are excluded.
Creating an example means writing a file, not running it, authorizing access or connecting a machine.
The receiver must support the SDK stage contract before an integrated launcher enables those events.

Installing this library does not enroll a package identity or enable event collection. Production package profiles and reviewed enrollment are separate. No machine connection, SDK installation, account login or product activation is performed by this client.

License: MIT, with template notices in THIRD_PARTY_NOTICES. Runtime dependencies retain their own licenses.
