- 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
26 lines
1.2 KiB
TypeScript
26 lines
1.2 KiB
TypeScript
import { OAuthClientProvider } from '../../client/auth.js';
|
|
import { OAuthClientInformationMixed, OAuthClientMetadata, OAuthTokens } from '../../shared/auth.js';
|
|
/**
|
|
* In-memory OAuth client provider for demonstration purposes
|
|
* In production, you should persist tokens securely
|
|
*/
|
|
export declare class InMemoryOAuthClientProvider implements OAuthClientProvider {
|
|
private readonly _redirectUrl;
|
|
private readonly _clientMetadata;
|
|
readonly clientMetadataUrl?: string | undefined;
|
|
private _clientInformation?;
|
|
private _tokens?;
|
|
private _codeVerifier?;
|
|
constructor(_redirectUrl: string | URL, _clientMetadata: OAuthClientMetadata, onRedirect?: (url: URL) => void, clientMetadataUrl?: string | undefined);
|
|
private _onRedirect;
|
|
get redirectUrl(): string | URL;
|
|
get clientMetadata(): OAuthClientMetadata;
|
|
clientInformation(): OAuthClientInformationMixed | undefined;
|
|
saveClientInformation(clientInformation: OAuthClientInformationMixed): void;
|
|
tokens(): OAuthTokens | undefined;
|
|
saveTokens(tokens: OAuthTokens): void;
|
|
redirectToAuthorization(authorizationUrl: URL): void;
|
|
saveCodeVerifier(codeVerifier: string): void;
|
|
codeVerifier(): string;
|
|
}
|
|
//# sourceMappingURL=simpleOAuthClientProvider.d.ts.map
|