Files
zCode-CLI-X/~/.npm-cache/@opentelemetry/api@1.9.1@@@1/build/esm/trace/context-utils.d.ts
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

41 lines
1.2 KiB
TypeScript

import type { Context } from '../context/types';
import type { Span } from './span';
import type { SpanContext } from './span_context';
/**
* Return the span if one exists
*
* @param context context to get span from
*/
export declare function getSpan(context: Context): Span | undefined;
/**
* Gets the span from the current context, if one exists.
*/
export declare function getActiveSpan(): Span | undefined;
/**
* Set the span on a context
*
* @param context context to use as parent
* @param span span to set active
*/
export declare function setSpan(context: Context, span: Span): Context;
/**
* Remove current span stored in the context
*
* @param context context to delete span from
*/
export declare function deleteSpan(context: Context): Context;
/**
* Wrap span context in a NoopSpan and set as span in a new
* context
*
* @param context context to set active span on
* @param spanContext span context to be wrapped
*/
export declare function setSpanContext(context: Context, spanContext: SpanContext): Context;
/**
* Get the span context of the span if it exists.
*
* @param context context to get values from
*/
export declare function getSpanContext(context: Context): SpanContext | undefined;
//# sourceMappingURL=context-utils.d.ts.map