- 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
55 lines
2.0 KiB
TypeScript
55 lines
2.0 KiB
TypeScript
import { CallCredentials } from './call-credentials';
|
|
import { Call, CallStreamOptions, InterceptingListener, MessageContext, StatusObject } from './call-interface';
|
|
import { Status } from './constants';
|
|
import { FilterStackFactory } from './filter-stack';
|
|
import { InternalChannel } from './internal-channel';
|
|
import { Metadata } from './metadata';
|
|
import { AuthContext } from './auth-context';
|
|
export declare class ResolvingCall implements Call {
|
|
private readonly channel;
|
|
private readonly method;
|
|
private readonly filterStackFactory;
|
|
private callNumber;
|
|
private child;
|
|
private readPending;
|
|
private pendingMessage;
|
|
private pendingHalfClose;
|
|
private ended;
|
|
private readFilterPending;
|
|
private writeFilterPending;
|
|
private pendingChildStatus;
|
|
private metadata;
|
|
private listener;
|
|
private deadline;
|
|
private host;
|
|
private statusWatchers;
|
|
private deadlineTimer;
|
|
private filterStack;
|
|
private deadlineStartTime;
|
|
private configReceivedTime;
|
|
private childStartTime;
|
|
/**
|
|
* Credentials configured for this specific call. Does not include
|
|
* call credentials associated with the channel credentials used to create
|
|
* the channel.
|
|
*/
|
|
private credentials;
|
|
constructor(channel: InternalChannel, method: string, options: CallStreamOptions, filterStackFactory: FilterStackFactory, callNumber: number);
|
|
private trace;
|
|
private runDeadlineTimer;
|
|
private outputStatus;
|
|
private sendMessageOnChild;
|
|
getConfig(): void;
|
|
reportResolverError(status: StatusObject): void;
|
|
cancelWithStatus(status: Status, details: string): void;
|
|
getPeer(): string;
|
|
start(metadata: Metadata, listener: InterceptingListener): void;
|
|
sendMessageWithContext(context: MessageContext, message: Buffer): void;
|
|
startRead(): void;
|
|
halfClose(): void;
|
|
setCredentials(credentials: CallCredentials): void;
|
|
addStatusWatcher(watcher: (status: StatusObject) => void): void;
|
|
getCallNumber(): number;
|
|
getAuthContext(): AuthContext | null;
|
|
}
|