- 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
24 lines
979 B
TypeScript
24 lines
979 B
TypeScript
import type { HrTime } from '@opentelemetry/api';
|
|
import type { MetricData } from '../export/MetricData';
|
|
import type { Maybe } from '../utils';
|
|
import type { MetricCollectorHandle } from './MetricCollector';
|
|
import type { InstrumentDescriptor } from '../InstrumentDescriptor';
|
|
/**
|
|
* Internal interface.
|
|
*
|
|
* Represents a storage from which we can collect metrics.
|
|
*/
|
|
export declare abstract class MetricStorage {
|
|
protected _instrumentDescriptor: InstrumentDescriptor;
|
|
constructor(instrumentDescriptor: InstrumentDescriptor);
|
|
/**
|
|
* Collects the metrics from this storage.
|
|
*
|
|
* Note: This is a stateful operation and may reset any interval-related
|
|
* state for the MetricCollector.
|
|
*/
|
|
abstract collect(collector: MetricCollectorHandle, collectionTime: HrTime): Maybe<MetricData>;
|
|
getInstrumentDescriptor(): Readonly<InstrumentDescriptor>;
|
|
updateDescription(description: string): void;
|
|
}
|
|
//# sourceMappingURL=MetricStorage.d.ts.map
|