- 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
38 lines
1.2 KiB
TypeScript
38 lines
1.2 KiB
TypeScript
import type { Aggregation } from './Aggregation';
|
|
export declare enum AggregationType {
|
|
DEFAULT = 0,
|
|
DROP = 1,
|
|
SUM = 2,
|
|
LAST_VALUE = 3,
|
|
EXPLICIT_BUCKET_HISTOGRAM = 4,
|
|
EXPONENTIAL_HISTOGRAM = 5
|
|
}
|
|
export type SumAggregationOption = {
|
|
type: AggregationType.SUM;
|
|
};
|
|
export type LastValueAggregationOption = {
|
|
type: AggregationType.LAST_VALUE;
|
|
};
|
|
export type DropAggregationOption = {
|
|
type: AggregationType.DROP;
|
|
};
|
|
export type DefaultAggregationOption = {
|
|
type: AggregationType.DEFAULT;
|
|
};
|
|
export type HistogramAggregationOption = {
|
|
type: AggregationType.EXPLICIT_BUCKET_HISTOGRAM;
|
|
options?: {
|
|
recordMinMax?: boolean;
|
|
boundaries: number[];
|
|
};
|
|
};
|
|
export type ExponentialHistogramAggregationOption = {
|
|
type: AggregationType.EXPONENTIAL_HISTOGRAM;
|
|
options?: {
|
|
recordMinMax?: boolean;
|
|
maxSize?: number;
|
|
};
|
|
};
|
|
export type AggregationOption = ExponentialHistogramAggregationOption | HistogramAggregationOption | SumAggregationOption | DropAggregationOption | DefaultAggregationOption | LastValueAggregationOption;
|
|
export declare function toAggregation(option: AggregationOption): Aggregation;
|
|
//# sourceMappingURL=AggregationOption.d.ts.map
|