Files
admin 875c7f9b91 feat: Complete zCode CLI X with Telegram bot integration
- Add full Telegram bot functionality with Z.AI API integration
- Implement 4 tools: Bash, FileEdit, WebSearch, Git
- Add 3 agents: Code Reviewer, Architect, DevOps Engineer
- Add 6 skills for common coding tasks
- Add systemd service file for 24/7 operation
- Add nginx configuration for HTTPS webhook
- Add comprehensive documentation
- Implement WebSocket server for real-time updates
- Add logging system with Winston
- Add environment validation

🤖 zCode CLI X - Agentic coder with Z.AI + Telegram integration
2026-05-05 09:01:26 +00:00

28 lines
1.2 KiB
TypeScript

import type { Context, HrTime, Attributes } from '@opentelemetry/api';
import type { Maybe } from '../utils';
import type { Accumulation, Aggregator } from '../aggregator/types';
import { AttributeHashMap } from './HashMap';
/**
* Internal interface.
*
* Allows synchronous collection of metrics. This processor should allow
* allocation of new aggregation cells for metrics and convert cumulative
* recording to delta data points.
*/
export declare class DeltaMetricProcessor<T extends Maybe<Accumulation>> {
private _activeCollectionStorage;
private _cumulativeMemoStorage;
private _cardinalityLimit;
private _overflowAttributes;
private _overflowHashCode;
private _aggregator;
constructor(aggregator: Aggregator<T>, aggregationCardinalityLimit?: number);
record(value: number, attributes: Attributes, _context: Context, collectionTime: HrTime): void;
batchCumulate(measurements: AttributeHashMap<number>, collectionTime: HrTime): void;
/**
* Returns a collection of delta metrics. Start time is the when first
* time event collected.
*/
collect(): AttributeHashMap<T>;
}
//# sourceMappingURL=DeltaMetricProcessor.d.ts.map