- 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
25 lines
1.2 KiB
TypeScript
25 lines
1.2 KiB
TypeScript
import { HrTime, BatchObservableCallback, Observable, ObservableCallback } from '@opentelemetry/api';
|
|
import { ObservableInstrument } from '../Instruments';
|
|
/**
|
|
* An internal interface for managing ObservableCallbacks.
|
|
*
|
|
* Every registered callback associated with a set of instruments are be evaluated
|
|
* exactly once during collection prior to reading data for that instrument.
|
|
*/
|
|
export declare class ObservableRegistry {
|
|
private _callbacks;
|
|
private _batchCallbacks;
|
|
addCallback(callback: ObservableCallback, instrument: ObservableInstrument): void;
|
|
removeCallback(callback: ObservableCallback, instrument: ObservableInstrument): void;
|
|
addBatchCallback(callback: BatchObservableCallback, instruments: Observable[]): void;
|
|
removeBatchCallback(callback: BatchObservableCallback, instruments: Observable[]): void;
|
|
/**
|
|
* @returns a promise of rejected reasons for invoking callbacks.
|
|
*/
|
|
observe(collectionTime: HrTime, timeoutMillis?: number): Promise<unknown[]>;
|
|
private _observeCallbacks;
|
|
private _observeBatchCallbacks;
|
|
private _findCallback;
|
|
private _findBatchCallback;
|
|
}
|
|
//# sourceMappingURL=ObservableRegistry.d.ts.map
|