- 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
31 lines
1.0 KiB
TypeScript
31 lines
1.0 KiB
TypeScript
import { Context } from '@opentelemetry/api';
|
|
import { ReadableSpan } from './export/ReadableSpan';
|
|
import { Span } from './Span';
|
|
/**
|
|
* SpanProcessor is the interface Tracer SDK uses to allow synchronous hooks
|
|
* for when a {@link Span} is started or when a {@link Span} is ended.
|
|
*/
|
|
export interface SpanProcessor {
|
|
/**
|
|
* Forces to export all finished spans
|
|
*/
|
|
forceFlush(): Promise<void>;
|
|
/**
|
|
* Called when a {@link Span} is started, if the `span.isRecording()`
|
|
* returns true.
|
|
* @param span the Span that just started.
|
|
*/
|
|
onStart(span: Span, parentContext: Context): void;
|
|
/**
|
|
* Called when a {@link ReadableSpan} is ended, if the `span.isRecording()`
|
|
* returns true.
|
|
* @param span the Span that just ended.
|
|
*/
|
|
onEnd(span: ReadableSpan): void;
|
|
/**
|
|
* Shuts down the processor. Called when SDK is shut down. This is an
|
|
* opportunity for processor to do any cleanup required.
|
|
*/
|
|
shutdown(): Promise<void>;
|
|
}
|
|
//# sourceMappingURL=SpanProcessor.d.ts.map
|