MCPcopy Create free account
hub / github.com/aattaran/deepclaude / constructor

Method constructor

proxy/model-proxy.js:41–47  ·  view source on GitHub ↗
(onUsage)

Source from the content-addressed store, hash-verified

39 */
40class UsageNormalizer extends Transform {
41 constructor(onUsage) {
42 super();
43 this._buf = '';
44 this._onUsage = onUsage;
45 this._inputTokens = 0;
46 this._outputTokens = 0;
47 }
48
49 _transform(chunk, _enc, cb) {
50 this._buf += chunk.toString();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected