Skip to content

0.3.0 — Reported model usage / Bildirilen model kullanımı

Latest

Choose a tag to compare

@selimeneserd selimeneserd released this 07 Oct 06:15

Pulse now records optional provider-reported token usage through recordUsage, independently of MCP handler observations and Pulse Cloud. Standalone core works with memory/JSONL without MCP, a model-provider SDK, account or key.

Usage events carry safe labels and numeric input/output plus optional cache/reasoning subsets. Missing stays null; each model invocation is recorded once. Async tool scopes correlate local usage. Custom exporters must narrow the new event union, and collectors must adopt the updated schema plus subset comparisons before usage is enabled.

Validation: 216 tests and 106 clean packed-consumer commands on each supported Node runtime (24.11.1/24.20.0); exact-source GitHub CI passed. All three MIT packages align at 0.3.0 with unchanged pinned third-party dependencies. Publication and clean registry consumer evidence are recorded in BUILD_STATUS.md.

TR: Pulse, MCP handler gözlemlerinden ve Pulse Cloud'dan bağımsız olarak recordUsage ile isteğe bağlı sağlayıcı token kullanımını kaydeder. Bağımsız core için MCP, sağlayıcı SDK'sı, hesap veya anahtar gerekmez. Ham içerik toplanmaz; eksik sayılar null, cache/reasoning alt kümeleri ayrı kalır. Özel exporter olayları kind ile ayırmalı; collector yeni şema ve alt küme kontrollerini uygulamalıdır. İki Node sürümünde 216 test ve 106 paket tüketim komutu, aynı kaynak için GitHub CI geçti. Üç MIT paket 0.3.0 olarak hizalanır; yayın/registry kanıtları BUILD_STATUS.md içindedir.