Files
zCode-CLI-X/~/.npm-cache/@opentelemetry/context-async-hooks@2.6.1@@@1/build/src/AsyncHooksContextManager.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

46 lines
1.5 KiB
TypeScript

import type { Context } from '@opentelemetry/api';
import { AbstractAsyncHooksContextManager } from './AbstractAsyncHooksContextManager';
/**
* @deprecated Use AsyncLocalStorageContextManager instead.
*/
export declare class AsyncHooksContextManager extends AbstractAsyncHooksContextManager {
private _asyncHook;
private _contexts;
private _stack;
constructor();
active(): Context;
with<A extends unknown[], F extends (...args: A) => ReturnType<F>>(context: Context, fn: F, thisArg?: ThisParameterType<F>, ...args: A): ReturnType<F>;
enable(): this;
disable(): this;
/**
* Init hook will be called when userland create a async context, setting the
* context as the current one if it exist.
* @param uid id of the async context
* @param type the resource type
*/
private _init;
/**
* Destroy hook will be called when a given context is no longer used so we can
* remove its attached context.
* @param uid uid of the async context
*/
private _destroy;
/**
* Before hook is called just before executing a async context.
* @param uid uid of the async context
*/
private _before;
/**
* After hook is called just after completing the execution of a async context.
*/
private _after;
/**
* Set the given context as active
*/
private _enterContext;
/**
* Remove the context at the root of the stack
*/
private _exitContext;
}
//# sourceMappingURL=AsyncHooksContextManager.d.ts.map